diff options
author | Derek Allard <derek.allard@ellislab.com> | 2007-12-17 22:18:14 +0100 |
---|---|---|
committer | Derek Allard <derek.allard@ellislab.com> | 2007-12-17 22:18:14 +0100 |
commit | 218e2bcfd4c9c1ebb2454efc1179d047f40f5b34 (patch) | |
tree | 4b767aec98edb52fec0be6beded261a520c4d839 /system/scaffolding/Scaffolding.php | |
parent | 488b7ee038ceca4ed083a1fd4cc43788e20101a7 (diff) |
Added a third parameter to Active Record's like() clause to control where the wildcard goes.
Deprecated from Active Record; getwhere() for get_where(); groupby() for group_by(); orderby() for order_by; orwhere() for or_where(); and orlike() for or_like().
Diffstat (limited to 'system/scaffolding/Scaffolding.php')
-rw-r--r-- | system/scaffolding/Scaffolding.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/scaffolding/Scaffolding.php b/system/scaffolding/Scaffolding.php index 70c6156ad..8ddb1af07 100644 --- a/system/scaffolding/Scaffolding.php +++ b/system/scaffolding/Scaffolding.php @@ -204,7 +204,7 @@ class Scaffolding { $primary = $this->CI->db->primary($this->current_table);
// Run the query
- $query = $this->CI->db->getwhere($this->current_table, array($primary => $id));
+ $query = $this->CI->db->get_where($this->current_table, array($primary => $id));
$data = array(
'title' => ( ! isset($this->lang['scaff_edit'])) ? 'Edit Data' : $this->lang['scaff_edit'],
|