<b>Fatal error</b>: Call to a member function displayMenu() on a non-object in <b>/var/www/html/wowroster/roster_svn/index.php</b> on line <b>100</b><br />
Upload command:
curl --user-agent uniuploader -F CharacterProfiler=@C:\Temp\CharacterProfiler.lua.gz -F password= -F submit=Upload http://matureasskickers.net/wowroster/MA/?p=update
Patch against r1984:
- Code: Select all
bash-3.1$ svn diff index.php
Index: index.php
===================================================================
--- index.php (revision 1984)
+++ index.php (working copy)
@@ -86,19 +86,18 @@
require ($file);
$content = ob_get_clean();
+ if( $roster->output['show_header'] )
+ {
+ include_once (ROSTER_BASE . 'header.php');
+ }
+
if( $roster->output['show_menu'] )
{
$roster_menu = new RosterMenu();
$roster_menu->makeMenu($roster->output['show_menu']);
+ $roster_menu->displayMenu();
}
- if( $roster->output['show_header'] )
- {
- include_once (ROSTER_BASE . 'header.php');
- }
-
- $roster_menu->displayMenu();
-
echo $content;
if( $roster->output['show_footer'] )