[APPDB] admin.php: fix incorrect call to query_affected_rows

Rosanne DiMesio dimesio at earthlink.net
Thu May 11 13:27:12 CDT 2017


Should be query_num_rows.

Signed-off-by: Rosanne DiMesio <dimesio at earthlink.net>
---
 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 />";
     
 }
 
-- 
2.12.0




More information about the wine-patches mailing list