Typo in memberlists update_hook.php ?

Posts from previous Beta sessions

Typo in memberlists update_hook.php ?

Postby poetter » Mon Sep 17, 2007 6:17 am

Hi,

found that on line 549

Code: Select all
         if( $roster->db->query($query) )
         {
            $this->messages .= ' - '.$this->chars[$mainid]['name'].' written as main without alts<br/>'."\n";
         }
         else
         {
            $this->messages .= ' - <span style="color:red;">Main not written. MySQL said: '.$roster->db->error().'</span><br/>'."\n";
            return false;
         }


Should $this->chars[$mainid]['name'] not be $this->chars[$mainid]['Name'] ?

Get undefined index notices on char updates.
Last edited by poetter on Mon Sep 17, 2007 6:17 am, edited 1 time in total.
Image
User avatar
poetter
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 462
Joined: Sat Jun 30, 2007 9:41 pm
Location: Germany/Hamburg

Re: Typo in memberlists update_hook.php ?

Postby tuigii » Mon Sep 17, 2007 9:30 am

User avatar
tuigii
WR.net Master
WR.net Master
 
Posts: 891
Joined: Wed Dec 27, 2006 12:57 pm
Location: Somewhere in the South Ouest of France

Typo in memberlists update_hook.php ?

Postby PleegWat » Mon Sep 17, 2007 2:52 pm

Yeah, that probably needs to be a capital. I'll fix it when I get home.
I <3 /bin/bash
User avatar
PleegWat
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 1636
Joined: Tue Jul 04, 2006 1:43 pm

Typo in memberlists update_hook.php ?

Postby poetter » Mon Sep 17, 2007 3:02 pm

Thx tuigii, Thx PleegWat
Image
User avatar
poetter
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 462
Joined: Sat Jun 30, 2007 9:41 pm
Location: Germany/Hamburg


Return to Archived

Who is online

Users browsing this forum: No registered users and 1 guest

cron