diff options
| author | Savetheinternet <savetheinternet@tinyboard.org> | 2011-10-05 19:41:47 +1100 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@tinyboard.org> | 2011-10-05 19:41:47 +1100 |
| commit | 01913276514763d05279e3bb4eed323f7b5a42a9 (patch) | |
| tree | 2bcba8581b731271b3995216b695b1a302755ecd | |
| parent | e507119e1737312ac00f2d2df9c3b161b2f60812 (diff) | |
...
| -rw-r--r-- | inc/mod.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/inc/mod.php b/inc/mod.php index e36bd92a..6d4e0bdc 100644 --- a/inc/mod.php +++ b/inc/mod.php @@ -90,10 +90,7 @@ $query->execute() or error(db_error($query)); if($pm = $query->fetch()) { - return 'You have <a href="?/PM/' . $pm['id'] . '">an unread PM</a>' . - ($query->rowCount() > 1 ? - ', plus ' . ($query->rowCount()-1) . ' more waiting' - : '') . '.'; + return Array('id' => $pm['id'], 'waiting' => $query->rowCount() - 1); } return false; |
