messages need subjects to link to
This commit is contained in:
parent
30fe8e39d6
commit
2fc4677173
1 changed files with 3 additions and 0 deletions
|
@ -24,6 +24,9 @@ function message_post(&$a) {
|
|||
return;
|
||||
}
|
||||
|
||||
if(! $strlen($subject))
|
||||
$subject = t('[no subject]');
|
||||
|
||||
$me = q("SELECT * FROM `contact` WHERE `uid` = %d AND `self` = 1 LIMIT 1",
|
||||
intval($_SESSION['uid'])
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue