Fix email widget always failing

This commit is contained in:
Nathan Gray 2013-02-04 13:31:35 +00:00
parent d744f3e5c5
commit 014f99c02b

View File

@ -66,7 +66,7 @@ class etemplate_widget_url extends etemplate_widget
}
break;
case 'url-email':
$this->attrs['preg'] = '/^('.EMAIL_PREG.')?$/';
$this->attrs['preg'] = '/^('.self::EMAIL_PREG.')?$/';
break;
}
}