ftimme
2013-08-09 0d8ef81ec2f2e1ddbab9da906f2537255fce396d
interface/lib/classes/db_mysql.inc.php
@@ -190,11 +190,11 @@
  // returns number of rows returned by the last select query
  public function numRows() {
    return $this->queryId->num_rows;
    return intval($this->queryId->num_rows);
  }
  
  public function affectedRows() {
   return $this->queryId->affected_rows;
   return intval($this->queryId->affected_rows);
  }
  // returns mySQL insert id