Changing $data param to be a array for default
This commit is contained in:
@@ -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);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user