mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2026-11-20 23:43:26 +03:00
Merge pull request #500 from vakartel/patch-1
model/AdminpasswordHandler.php :: eliminate php waring
This commit is contained in:
1 file changed
+1
-1
@@ -39,7 +39,7 @@ class AdminpasswordHandler extends PFAHandler
|
||||
);
|
||||
}
|
||||
|
||||
public function init($id) :bool
|
||||
public function init(string $id) :bool
|
||||
{
|
||||
# hardcode to logged in admin
|
||||
if ($this->admin_username == '') {
|
||||
|
||||
Reference in new issue
Block a user