williamleonard / obblm

Automatically exported from code.google.com/p/obblm
1 stars 0 forks source link

Inducements try-out #150

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Warning: Missing argument 4 for Star::setStats(), called in
/inducements.php on line 107 and defined in /lib/class_starmerc.php on line 76

This is when selecting a star player from Inducements try-out.

It goes further when I select a second star player.

Notice: Undefined variable: node_id in /lib/class_starmerc.php on line 80

Notice: Undefined variable: node_id in /lib/class_starmerc.php on line 89

Everything else on the page looks good.

Original issue reported on code.google.com by funnyfin...@hotmail.com on 15 Jul 2009 at 12:46

GoogleCodeExporter commented 9 years ago
Yeah, that's due to me having changed some of the obblm base routines.
I'll look through Daniels code and correct it. I think he is quite busy atm.

Original comment by Nimda...@gmail.com on 15 Jul 2009 at 9:37

GoogleCodeExporter commented 9 years ago
Please do, Nicholas. I dont have the time to upgrade OBBLM to HEAD and test. :-/

Add the missing argument in line 107 and in the two other places (115,149) I 
call
setStats():
$s->setStats(false, false, false);
so the result in $s is the same as before.
If contents of $s is different, then some more of the code needs changing...and 
it's
probably best if I do that?

/Daniel

Original comment by blodae@gmail.com on 15 Jul 2009 at 10:58

GoogleCodeExporter commented 9 years ago
I've done it. No other changes needed.

Original comment by Nimda...@gmail.com on 15 Jul 2009 at 7:33