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().
diff --git a/system/scaffolding/Scaffolding.php b/system/scaffolding/Scaffolding.php
index 70c6156..8ddb1af 100644
--- a/system/scaffolding/Scaffolding.php
+++ b/system/scaffolding/Scaffolding.php
@@ -204,7 +204,7 @@
 		$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'],