Skip to content

Commit 1311f10

Browse files
author
Till Brehm
committed
Fixed: #4486 PHP Fatal error: Using $this when not in object context
1 parent 30ead37 commit 1311f10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/web/login/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@
259259
}
260260
}
261261

262-
$app->plugin->raiseEvent('login', $this);
262+
$app->plugin->raiseEvent('login', $username);
263263

264264
//* Save successfull login message to var
265265
$authlog = 'Successful login for user \''. $username .'\' from '. long2ip($ip) .' at '. date('Y-m-d H:i:s');

0 commit comments

Comments
 (0)