Abstract address session() details
This commit is contained in:
@@ -372,7 +372,7 @@ abstract class Packet extends FTNBase implements \Iterator, \Countable
|
||||
'H' => $date->format('H'), // Hour
|
||||
'M' => $date->format('i'), // Minute
|
||||
'S' => $date->format('s'), // Second
|
||||
'password' => strtoupper((! is_null($passwd)) ? $passwd : $o->session('pktpass')), // Packet Password
|
||||
'password' => strtoupper((! is_null($passwd)) ? $passwd : $o->pass_packet), // Packet Password
|
||||
];
|
||||
}
|
||||
|
||||
@@ -505,7 +505,7 @@ abstract class Packet extends FTNBase implements \Iterator, \Countable
|
||||
public function password(string $password=NULL): self
|
||||
{
|
||||
if ($password && (strlen($password) < 9))
|
||||
$this->pass_p = $password;
|
||||
$this->pass_p = strtoupper($password);
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
Reference in New Issue
Block a user