summaryrefslogtreecommitdiffstats
path: root/includes/datas.php
diff options
context:
space:
mode:
authorPatrick Davison <snapwilliam@gmail.com>2013-01-17 21:41:00 -0800
committerPatrick Davison <snapwilliam@gmail.com>2013-01-17 21:41:00 -0800
commit7e3ab267d9e74856ed0cafffcdab34fd40b48228 (patch)
treed77388f36e57f77a94023f0c11feb3eddcad692d /includes/datas.php
parentf4c16b40f54ce14de3ab30637269f74908149dd0 (diff)
downloadpathery-7e3ab267d9e74856ed0cafffcdab34fd40b48228.tar.xz
Adjusted / added footerlinks.
Diffstat (limited to 'includes/datas.php')
-rw-r--r--includes/datas.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/datas.php b/includes/datas.php
index 4415eb4..8ae5d5f 100644
--- a/includes/datas.php
+++ b/includes/datas.php
@@ -582,7 +582,7 @@ function getAchievementCurrency($userID, $aType) {
}
if ($sql == '')
return false;
- $result = mysql_query($sql);
+ $result = mysql_query($sql) OR die("SQL query failed; $sql");
if (mysql_num_rows($result) == 1)
list($r) = mysql_fetch_row($result);