https://bugs.contribs.org/show_bug.cgi?id=10136

--- Comment #7 from John Crisp <[email protected]> ---
I tested the fix on both the broken server and the working server and it fixes
the broken server and does not impact the working one

Patch is as follows

[root@home libraries]# diff -ruN DbSearch.class.old DbSearch.class.php
--- DbSearch.class.old  2017-03-09 12:32:53.562182849 +0100
+++ DbSearch.class.php  2017-03-09 12:29:35.077275699 +0100
@@ -277,7 +277,7 @@
             // Gets the SQL statements
             $newsearchsqls = $this->_getSearchSqls($each_table);
             // Executes the "COUNT" statement
-            $res_cnt = PMA_DBI_fetch_value($newsearchsqls['select_count']);
+            $res_cnt =
intval(PMA_DBI_fetch_value($newsearchsqls['select_count']));
             $num_search_result_total += $res_cnt;
             // Gets the result row's HTML for a table
             $html_output .= $this->_getResultsRow(

Not sure where/how to apply this

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

Reply via email to