]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fix some typos and missing letters
authorLuke Fitzgerald <lw.fitzgerald@googlemail.com>
Wed, 11 Aug 2010 00:42:18 +0000 (17:42 -0700)
committerLuke Fitzgerald <lw.fitzgerald@googlemail.com>
Wed, 11 Aug 2010 00:42:18 +0000 (17:42 -0700)
plugins/Msn/msn_waiting_message.php

index d69520b40b4ccb8d3e9c46904da81c265b54bb8f..0af7c4f3ec25df3bf3a9655b7acdd650b720e49d 100644 (file)
@@ -30,8 +30,8 @@ class Msn_waiting_message extends Memcached_DataObject {
         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
@@ -86,8 +86,8 @@ class Msn_waiting_message extends Memcached_DataObject {
         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