diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-04-04 20:06:46 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-04-04 20:06:46 +0200 |
commit | d649e2d11cea4fb222f10413f11ab4095d12465f (patch) | |
tree | fdc7f6871ce668aee65e8470206fa1350d0aacc5 /db/item.php | |
parent | 96f1eb05a4caa74bccbb3988fe79a60adf544d5c (diff) |
write out type name to prevent confusion when using gettype
Diffstat (limited to 'db/item.php')
-rw-r--r-- | db/item.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/db/item.php b/db/item.php index 8f516f9c6..6f2ee9e6f 100644 --- a/db/item.php +++ b/db/item.php @@ -45,10 +45,10 @@ class Item extends Entity implements IAPI { public function __construct(){ - $this->addType('pubDate', 'int'); - $this->addType('feedId', 'int'); - $this->addType('status', 'int'); - $this->addType('lastModified', 'int'); + $this->addType('pubDate', 'integer'); + $this->addType('feedId', 'integer'); + $this->addType('status', 'integer'); + $this->addType('lastModified', 'integer'); } |