
04-15-2005, 02:14 PM
|
 |
|
|
Join Date: Oct 2004
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by rjordan
Ok, let's try this. I have NOT tested this as I have not seen the problem first-hand.
In ./includes/cron/arcadeupdate.php:
Find:
PHP Code:
$DB_site->query("UPDATE " . TABLE_PREFIX . "games SET highscorerid=$value[userid],highscore=$value[score] WHERE shortname='$key'");
REPLACE with:
PHP Code:
if ($value[userid]!="")) {
$DB_site->query("UPDATE " . TABLE_PREFIX . "games SET highscorerid=$value[userid],highscore=$value[score] WHERE shortname='$key'");
}
I hope this works for you. Let me know as I am curious now on your issue.
|
I got
Quote:
Parse error: parse error, unexpected ')' in /home/deathea/public_html/forum/includes/cron/arcadeupdate.php on line 70
|
Line 70 reads
Code:
if ($value[userid]!="")) {
|