summaryrefslogtreecommitdiff
path: root/demos/address-book/protected/pages
diff options
context:
space:
mode:
Diffstat (limited to 'demos/address-book/protected/pages')
-rw-r--r--demos/address-book/protected/pages/AddressRecord.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/address-book/protected/pages/AddressRecord.php b/demos/address-book/protected/pages/AddressRecord.php
index 55c4ba06..aaf8db7c 100644
--- a/demos/address-book/protected/pages/AddressRecord.php
+++ b/demos/address-book/protected/pages/AddressRecord.php
@@ -4,7 +4,7 @@
*/
class AddressRecord extends TActiveRecord
{
- public static $_tablename='addresses';
+ const TABLE='addresses';
/**
* @var integer $id