From b9194e792369506cd2514dcad3e26ce483e6b72d Mon Sep 17 00:00:00 2001 From: CiaranG Date: Wed, 11 Mar 2009 09:12:39 +0000 Subject: Correction to recently added dupe-checking feature - was using wrong config value --- classes/Notice.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- cgit v1.2.3-54-g00ecf