From a6f3e9f9ebc7859e994422573851d8ff233ff3c6 Mon Sep 17 00:00:00 2001 From: Simon Welsh Date: Tue, 4 Sep 2012 15:25:53 +1200 Subject: [PATCH] Corrects replacement method name in deprecation notice. --- model/SQLQuery.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model/SQLQuery.php b/model/SQLQuery.php index 55f934473..0d3123569 100644 --- a/model/SQLQuery.php +++ b/model/SQLQuery.php @@ -110,7 +110,7 @@ class SQLQuery { } function __get($field) { - if(strtolower($field) == 'select') Deprecation::notice('3.0', 'Please use getSlect() instead'); + if(strtolower($field) == 'select') Deprecation::notice('3.0', 'Please use getSelect() instead'); if(strtolower($field) == 'from') Deprecation::notice('3.0', 'Please use getFrom() instead'); if(strtolower($field) == 'groupby') Deprecation::notice('3.0', 'Please use getGroupBy() instead'); if(strtolower($field) == 'orderby') Deprecation::notice('3.0', 'Please use getOrderBy() instead');