summaryrefslogtreecommitdiffstats
path: root/system/scaffolding/Scaffolding.php
diff options
context:
space:
mode:
Diffstat (limited to 'system/scaffolding/Scaffolding.php')
-rw-r--r--system/scaffolding/Scaffolding.php2
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'],