Corrects replacement method name in deprecation notice.

This commit is contained in:
Simon Welsh 2012-09-04 15:25:53 +12:00
parent 0a43354b5d
commit a6f3e9f9eb

View File

@ -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');