Bug correction with PHP5.4 due to Strict standards
This commit is contained in:
parent
bbf107aa69
commit
21b7b7e64c
@ -86,7 +86,7 @@
|
||||
|
||||
// Override parent load() method
|
||||
// =============================
|
||||
public function load($fields = NULL, $first_only = false) {
|
||||
public function load($fields = NULL, $first_only = false, $key_array = 'id') {
|
||||
$return = parent::load($fields, $first_only); // Execute parent load
|
||||
|
||||
if(is_array($return)) {
|
||||
|
@ -128,7 +128,7 @@
|
||||
|
||||
// Override parent load() method
|
||||
// =============================
|
||||
public function load($fields = NULL, $first_only = false) {
|
||||
public function load($fields = NULL, $first_only = false, $key_array = 'id') {
|
||||
$return = parent::load($fields, $first_only); // Execute parent load
|
||||
|
||||
if(is_array($return)) {
|
||||
|
@ -65,7 +65,7 @@
|
||||
|
||||
// Override load() method
|
||||
// ======================
|
||||
public function load() {
|
||||
public function load($fields = NULL, $first_only = false, $key_array = 'id') {
|
||||
$query = 'SELECT ';
|
||||
|
||||
$i = false;
|
||||
|
@ -86,7 +86,7 @@
|
||||
|
||||
// Override load() method
|
||||
// ======================
|
||||
public function load() {
|
||||
public function load($fields = NULL, $first_only = false, $key_array = 'id') {
|
||||
$query = 'SELECT ';
|
||||
|
||||
$i = false;
|
||||
|
Loading…
Reference in New Issue
Block a user