summaryrefslogtreecommitdiff
path: root/idiorm.php
diff options
context:
space:
mode:
Diffstat (limited to 'idiorm.php')
-rw-r--r--idiorm.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/idiorm.php b/idiorm.php
index 08a2b5c..1876407 100644
--- a/idiorm.php
+++ b/idiorm.php
@@ -323,14 +323,14 @@
* is built.
*/
public function where($column_name, $value) {
- return $this->where_equals($column_name, $value);
+ return $this->where_equal($column_name, $value);
}
/**
* More explicitly named version of for the where() method.
* Can be used if preferred.
*/
- public function where_equals($column_name, $value) {
+ public function where_equal($column_name, $value) {
return $this->add_where($column_name, '=', $value);
}