news4ward-rateit integriert

This commit is contained in:
2015-02-04 22:29:41 +01:00
parent 90a65bcc43
commit 19feefda83
7 changed files with 24 additions and 29 deletions

View File

@ -98,7 +98,7 @@ class RateIt extends \Frontend {
}
//Make sure that the ratable type is 'page' or 'ce' or 'module'
if (!($type === 'page' || $type === 'article' || $type === 'ce' || $type === 'module' || $type === 'news' || $type === 'faq' || $type === 'galpic')) {
if (!($type === 'page' || $type === 'article' || $type === 'ce' || $type === 'module' || $type === 'news' || $type === 'faq' || $type === 'galpic' || $type === 'news4ward')) {
header(RETURN_AJAX_HEADER);
echo $GLOBALS['TL_LANG']['rateit']['error']['invalid_type'];
exit;