diff options
author | Mike Macgirvin <mike@macgirvin.com> | 2010-10-29 23:00:10 -0700 |
---|---|---|
committer | Mike Macgirvin <mike@macgirvin.com> | 2010-10-29 23:00:10 -0700 |
commit | 2fc467717344ddae5c192c427ca037e84a9056e9 (patch) | |
tree | 0ae0878e19b44e89ba0a38404107983cfd7d5df0 | |
parent | 30fe8e39d64c841b13c04f16c6dc290893bd9f79 (diff) | |
download | volse-hubzilla-2fc467717344ddae5c192c427ca037e84a9056e9.tar.gz volse-hubzilla-2fc467717344ddae5c192c427ca037e84a9056e9.tar.bz2 volse-hubzilla-2fc467717344ddae5c192c427ca037e84a9056e9.zip |
messages need subjects to link to
-rw-r--r-- | mod/message.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mod/message.php b/mod/message.php index 011a5a67b..a168e208a 100644 --- a/mod/message.php +++ b/mod/message.php @@ -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']) ); |