aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-20 11:43:31 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-20 11:43:31 +0000
commitd7e5e1063bc705d7783933a7c7490a795e5dd8cb (patch)
tree9aef83182d11281b6c73bbcfad24ab6199b9454e /engine/lib
parent40b26cd3c3e58aeafd629236544c754804135ebb (diff)
downloadelgg-d7e5e1063bc705d7783933a7c7490a795e5dd8cb.tar.gz
elgg-d7e5e1063bc705d7783933a7c7490a795e5dd8cb.tar.bz2
update_data now returns true on a successful update.
git-svn-id: https://code.elgg.org/elgg/trunk@1016 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib')
-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 d3113e202..d81dc8185 100644
--- a/engine/lib/database.php
+++ b/engine/lib/database.php
@@ -258,7 +258,7 @@
}
if (mysql_query("$query", $dblink))
- return mysql_affected_rows();
+ return true; //return mysql_affected_rows();
if (mysql_errno($dblink))
throw new DatabaseException(mysql_error($dblink) . " QUERY: " . $query);