return array('id' => DB_DATAOBJECT_INT + DB_DATAOBJECT_NOTNULL,\r
'screenname' => DB_DATAOBJECT_STR + DB_DATAOBJECT_NOTNULL,\r
'message' => DB_DATAOBJECT_STR + DB_DATAOBJECT_NOTNULL,\r
- 'created' => DB_DATAOBJECT_STR + DB_DATAOBJECT_NOTNULL,\r
- 'claimed' => DB_DATAOBJECT_STR);\r
+ 'created' => DB_DATAOBJECT_TIME + DB_DATAOBJECT_STR + DB_DATAOBJECT_NOTNULL,\r
+ 'claimed' => DB_DATAOBJECT_TIME + DB_DATAOBJECT_STR);\r
}\r
\r
/**\r
if ($screenname) {\r
if (is_array($screenname)) {\r
// @fixme use safer escaping\r
- $list = implode("','", array_map('addslashes', $transports));\r
- $wm->whereAdd("screename in ('$list')");\r
+ $list = implode("','", array_map('addslashes', $screenname));\r
+ $wm->whereAdd("screenname in ('$list')");\r
} else {\r
$wm->screenname = $screenname;\r
}\r