aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-03-30 14:55:08 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-03-30 14:55:08 +0000
commitae9fbc6ff04929b0a33aa83ccd06f5d71514bc52 (patch)
treed5d82825fd1ec63d3f54b0230b2973bee632d59e
parentd71d367fa5747bdedcd617e856343cd1fee2465a (diff)
downloadelgg-ae9fbc6ff04929b0a33aa83ccd06f5d71514bc52.tar.gz
elgg-ae9fbc6ff04929b0a33aa83ccd06f5d71514bc52.tar.bz2
Closes #875: Using db link
git-svn-id: https://code.elgg.org/elgg/trunk@3181 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--engine/lib/database.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/database.php b/engine/lib/database.php
index c80875d25..01767be39 100644
--- a/engine/lib/database.php
+++ b/engine/lib/database.php
@@ -408,7 +408,7 @@
error_log("Query cache invalidated");
if (execute_query("$query", $dblink))
- return mysql_affected_rows();
+ return mysql_affected_rows($dblink);
return false;
}