summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-08-17 11:24:19 -0400
committerEvan Prodromou <evan@prodromou.name>2008-08-17 11:24:19 -0400
commitbee7caaafc58a5f3b7e9736f92b40330ddc63dc4 (patch)
tree93c62513c1e652f00d141ac29277ec818a91e6e4
parent164a15d253b2e9f6251bc271e2f3e18aa2266404 (diff)
debug for content too long
darcs-hash:20080817152419-84dde-5df1554695bd8560e5affa0ff74f7d0ab7c7c3ff.gz
-rw-r--r--actions/newnotice.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/actions/newnotice.php b/actions/newnotice.php
index 056b45b8a..cc40f89bc 100644
--- a/actions/newnotice.php
+++ b/actions/newnotice.php
@@ -44,6 +44,8 @@ class NewnoticeAction extends Action {
$this->show_form(_('No content!'));
return;
} else if (mb_strlen($content) > 140) {
+ common_debug("Content = '$content'", __FILE__);
+ common_debug("mb_strlen(\$content) = " . mb_strlen($content), __FILE__);
$this->show_form(_('That\'s too long. Max notice size is 140 chars.'));
return;
}