Notice displayed from db_record_selectAll()
Brought to you by:
coolcold
If the resultset from the "SELECT * FROM ".$table is empty, then $data is not defined. This generates a notice warning in PHP.
Solution is to add:
$data = array();
as the first line of the function function db_record_selectAll($table).
This applies to ccTiddly 1.1.
Regards,
Rob...
Logged In: NO
Thanks. It will be fixed in the next version.
CC