]> andersk Git - sql-web.git/blobdiff - lib/joe.lib.php
is_numeric bug in fetchRows and more
[sql-web.git] / lib / joe.lib.php
index 5ea684a686a632b4bd1c77dde718bbd60c1a5328..d36cef13c84d43025ea0ba9a8d333a071edb1378 100755 (executable)
@@ -1,7 +1,6 @@
 <?php
 /*
     (c) 2005 Joe Presbrey
-    joepresbrey@gmail.com
 
     ATTN:  This library was assembled and completed in its entirety independent of
     any and all corporate projects and/or work environ.
@@ -68,6 +67,8 @@ function sessTime($query=null) {
 
   if (is_null($query)) {
     $timings[$key]['time'] = microtime(true)-$timings[$key]['time'];
+       if (mysql_error())
+               $timings[$key]['error'] = mysql_error();
     return true;
   } else {
     $timings[$key] = array();
This page took 0.028974 seconds and 4 git commands to generate.