Changing $data param to be a array for default

This commit is contained in:
ahwelp
2023-01-24 13:32:46 +00:00
parent 5f9316e15e
commit bfab5fc27e
+1 -1
View File
@@ -200,7 +200,7 @@ class DBInstance
* *
* @return stdClass A object with the record info * @return stdClass A object with the record info
*/ */
public static function getRecords($table, $data = null, $select = array('*'), $limits = array(), $instance = 'default') public static function getRecords($table, $data = array(), $select = array('*'), $limits = array(), $instance = 'default')
{ {
$pointer = self::getRecordsPointer($table, $data, $select, $limits, $instance); $pointer = self::getRecordsPointer($table, $data, $select, $limits, $instance);