Fix some typos and missing letters
This commit is contained in:
parent
bc331a0155
commit
ef6813eb67
@ -30,8 +30,8 @@ class Msn_waiting_message extends Memcached_DataObject {
|
|||||||
return array('id' => DB_DATAOBJECT_INT + DB_DATAOBJECT_NOTNULL,
|
return array('id' => DB_DATAOBJECT_INT + DB_DATAOBJECT_NOTNULL,
|
||||||
'screenname' => DB_DATAOBJECT_STR + DB_DATAOBJECT_NOTNULL,
|
'screenname' => DB_DATAOBJECT_STR + DB_DATAOBJECT_NOTNULL,
|
||||||
'message' => DB_DATAOBJECT_STR + DB_DATAOBJECT_NOTNULL,
|
'message' => DB_DATAOBJECT_STR + DB_DATAOBJECT_NOTNULL,
|
||||||
'created' => DB_DATAOBJECT_STR + DB_DATAOBJECT_NOTNULL,
|
'created' => DB_DATAOBJECT_TIME + DB_DATAOBJECT_STR + DB_DATAOBJECT_NOTNULL,
|
||||||
'claimed' => DB_DATAOBJECT_STR);
|
'claimed' => DB_DATAOBJECT_TIME + DB_DATAOBJECT_STR);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -86,8 +86,8 @@ class Msn_waiting_message extends Memcached_DataObject {
|
|||||||
if ($screenname) {
|
if ($screenname) {
|
||||||
if (is_array($screenname)) {
|
if (is_array($screenname)) {
|
||||||
// @fixme use safer escaping
|
// @fixme use safer escaping
|
||||||
$list = implode("','", array_map('addslashes', $transports));
|
$list = implode("','", array_map('addslashes', $screenname));
|
||||||
$wm->whereAdd("screename in ('$list')");
|
$wm->whereAdd("screenname in ('$list')");
|
||||||
} else {
|
} else {
|
||||||
$wm->screenname = $screenname;
|
$wm->screenname = $screenname;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user