From ae9fbc6ff04929b0a33aa83ccd06f5d71514bc52 Mon Sep 17 00:00:00 2001 From: marcus Date: Mon, 30 Mar 2009 14:55:08 +0000 Subject: Closes #875: Using db link git-svn-id: https://code.elgg.org/elgg/trunk@3181 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/database.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine/lib') 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; } -- cgit v1.2.3