From bfab5fc27ec1a7357cf190cae8c0a18a32d67207 Mon Sep 17 00:00:00 2001 From: ahwelp Date: Tue, 24 Jan 2023 13:32:46 +0000 Subject: [PATCH] Changing $data param to be a array for default --- src/ORM/DBInstance.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ORM/DBInstance.php b/src/ORM/DBInstance.php index b8186a7..60554a4 100755 --- a/src/ORM/DBInstance.php +++ b/src/ORM/DBInstance.php @@ -200,7 +200,7 @@ class DBInstance * * @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);