diff --git a/core/model/fieldtypes/Varchar.php b/core/model/fieldtypes/Varchar.php index 6843ab893..cbb2267e9 100644 --- a/core/model/fieldtypes/Varchar.php +++ b/core/model/fieldtypes/Varchar.php @@ -32,6 +32,7 @@ class Varchar extends DBField { * @deprecated 2.3 Use ATT_val() */ function Attr() { + user_error("Varchar::Attr() is deprecated. Use ATT_val() instead.", E_USER_NOTICE); return Convert::raw2att($this->value); } @@ -57,4 +58,4 @@ class Varchar extends DBField { } } -?> \ No newline at end of file +?>