Permalink
Browse files

Corrects replacement method name in deprecation notice.

  • Loading branch information...
1 parent 0a43354 commit a6f3e9f9ebc7859e994422573851d8ff233ff3c6 @simonwelsh simonwelsh committed Sep 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 model/SQLQuery.php
View
@@ -110,7 +110,7 @@ function __construct($select = "*", $from = array(), $where = array(), $orderby
}
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');

0 comments on commit a6f3e9f

Please sign in to comment.