Rosanne DiMesio : admin.php: fix incorrect call to query_affected_rows
Jeremy Newman
jnewman at winehq.org
Thu May 11 13:34:05 CDT 2017
Module: appdb
Branch: master
Commit: 10e8d4eb81a850ae88e6599481bd5f7dc648fb0d
URL: http://source.winehq.org/git/appdb.git/?a=commit;h=10e8d4eb81a850ae88e6599481bd5f7dc648fb0d
Author: Rosanne DiMesio <dimesio at earthlink.net>
Date: Thu May 11 13:27:12 2017 -0500
admin.php: fix incorrect call to query_affected_rows
Should be query_num_rows.
Signed-off-by: Rosanne DiMesio <dimesio at earthlink.net>
Signed-off-by: Jeremy Newman <jnewman at codeweavers.com>
---
admin.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/admin.php b/admin.php
index 09c0aca..fe1ccc6 100644
--- a/admin.php
+++ b/admin.php
@@ -199,7 +199,7 @@ function fixNoteLinks()
echo "<br />Deleting note links<br />";
$hResult = query_parameters("DELETE FROM appNotes WHERE linkedWith != '0'");
- echo "Deleted ".query_affected_rows()." links<br />";
+ echo "Deleted ".query_num_rows()." links<br />";
}
More information about the wine-cvs
mailing list