summaryrefslogtreecommitdiff
path: root/classes/Notice.php
diff options
context:
space:
mode:
authorCiaranG <ciaran@ciarang.com>2009-03-08 09:25:23 +0000
committerCiaranG <ciaran@ciarang.com>2009-03-08 09:25:23 +0000
commita5b9f59cb235a05eaf74465d421508b4b8471488 (patch)
treeab1fcd6c19fe1eef6f30fae8dc8524fee2cf3dd7 /classes/Notice.php
parent61940e37ff89710628eff1a4ad6db8df16142cec (diff)
parentf66775658c0f231c8bcf9ea310fc8ac0dbf19bfd (diff)
Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x
Diffstat (limited to 'classes/Notice.php')
-rw-r--r--classes/Notice.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/Notice.php b/classes/Notice.php
index eac90ce95..ac4db944f 100644
--- a/classes/Notice.php
+++ b/classes/Notice.php
@@ -234,7 +234,7 @@ class Notice extends Memcached_DataObject
$notice->content = $content;
$notice->whereAdd('now() - created < ' . common_config('notice', 'dupelimit'));
$cnt = $notice->count();
- return ($cnt > 0);
+ return ($cnt == 0);
}
static function checkEditThrottle($profile_id) {