Extension talk:Login At Edit

Hi, I'm getting this error:

''Detected bug in an extension! Hook loginAtEdit_InsertLoginForm failed to return a value; should return true to continue hook processing or false to abort.

Backtrace:


 * 0 C:\wamp\www\wiki\includes\EditPage.php(920): wfRunHooks('EditPage::showE...', Array)
 * 1 C:\wamp\www\wiki\includes\EditPage.php(433): EditPage->showEditForm
 * 2 C:\wamp\www\wiki\includes\EditPage.php(285): EditPage->edit
 * 3 C:\wamp\www\wiki\includes\Wiki.php(437): EditPage->submit
 * 4 C:\wamp\www\wiki\includes\Wiki.php(48): MediaWiki->performAction(Object(OutputPage), Object(Article), Object(Title), Object(User), Object(WebRequest))
 * 5 C:\wamp\www\wiki\index.php(89): MediaWiki->initialize(Object(Title), Object(OutputPage), Object(User), Object(WebRequest))
 * 1) 6 {main}''

Best regards,

--86.88.44.213 21:12, 26 May 2008 (UTC)

change from function loginAtEdit_InsertLoginForm($form) { global $wgOut, $wgUser; if ($wgUser->isLoggedIn) { return; }

to:

function loginAtEdit_InsertLoginForm($form) { global $wgOut, $wgUser; if ($wgUser->isLoggedIn) { return true; }