aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}