BUGFIX: Added condition to verify userforms module class exists

This commit is contained in:
Carlos Barberis 2010-07-21 01:56:12 +00:00
parent aa8ef8aca9
commit feddb2cc49

View File

@ -6,7 +6,7 @@
*
* @package spamprotection
*/
if(class_exists('EditableFormField')){
class EditableSpamProtectionField extends EditableFormField {
static $singular_name = 'Spam Protection Field';
@ -31,3 +31,4 @@ class EditableSpamProtectionField extends EditableFormField {
return false;
}
}
}