08-25-2022, 04:10 PM
not much we can do without knowing what the query is.
I suppose it is this line: https://github.com/tsolucio/corebos/blob/master/include/database/PearDatabase.php#L588
if so you can try dumping $result
I suppose it is this line: https://github.com/tsolucio/corebos/blob/master/include/database/PearDatabase.php#L588
if so you can try dumping $result
PHP Code:
public function getRowCount(&$result) {
if (isset($result) && !empty($result)) {
var_dump($result);
$rows = $result->RecordCount();
} else {
$rows = 0;
}
return $rows;
}
Joe
TSolucio
TSolucio