diff options
author | CiaranG <ciaran@ciarang.com> | 2009-03-11 09:12:39 +0000 |
---|---|---|
committer | CiaranG <ciaran@ciarang.com> | 2009-03-11 09:12:39 +0000 |
commit | b9194e792369506cd2514dcad3e26ce483e6b72d (patch) | |
tree | 5c2efce0fe6ed5247ed146e9faebd0ccc7b393d8 | |
parent | 622cc150d86265cbb1dcd35ae11f4941d42ffdeb (diff) |
Correction to recently added dupe-checking feature - was using wrong config value
-rw-r--r-- | classes/Notice.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/Notice.php b/classes/Notice.php index ac4db944f..1e3b330f2 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -232,7 +232,7 @@ class Notice extends Memcached_DataObject $notice = new Notice(); $notice->profile_id = $profile_id; $notice->content = $content; - $notice->whereAdd('now() - created < ' . common_config('notice', 'dupelimit')); + $notice->whereAdd('now() - created < ' . common_config('site', 'dupelimit')); $cnt = $notice->count(); return ($cnt == 0); } |