From: Luke Fitzgerald Date: Wed, 11 Aug 2010 00:42:18 +0000 (-0700) Subject: Fix some typos and missing letters X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ef6813eb67669f873b99c604cb72507792b0a7af;p=quix0rs-gnu-social.git Fix some typos and missing letters --- diff --git a/plugins/Msn/msn_waiting_message.php b/plugins/Msn/msn_waiting_message.php index d69520b40b..0af7c4f3ec 100644 --- a/plugins/Msn/msn_waiting_message.php +++ b/plugins/Msn/msn_waiting_message.php @@ -30,8 +30,8 @@ class Msn_waiting_message extends Memcached_DataObject { return array('id' => DB_DATAOBJECT_INT + DB_DATAOBJECT_NOTNULL, 'screenname' => DB_DATAOBJECT_STR + DB_DATAOBJECT_NOTNULL, 'message' => DB_DATAOBJECT_STR + DB_DATAOBJECT_NOTNULL, - 'created' => DB_DATAOBJECT_STR + DB_DATAOBJECT_NOTNULL, - 'claimed' => DB_DATAOBJECT_STR); + 'created' => DB_DATAOBJECT_TIME + DB_DATAOBJECT_STR + DB_DATAOBJECT_NOTNULL, + 'claimed' => DB_DATAOBJECT_TIME + DB_DATAOBJECT_STR); } /** @@ -86,8 +86,8 @@ class Msn_waiting_message extends Memcached_DataObject { if ($screenname) { if (is_array($screenname)) { // @fixme use safer escaping - $list = implode("','", array_map('addslashes', $transports)); - $wm->whereAdd("screename in ('$list')"); + $list = implode("','", array_map('addslashes', $screenname)); + $wm->whereAdd("screenname in ('$list')"); } else { $wm->screenname = $screenname; }