From 18f5b8ad93323ea141dcde8c9a0f0ba6ecf67073 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 15 Aug 2016 11:56:32 +0200 Subject: [PATCH] fix Scrutinizer errors --- admin/inc/class.admin_customfields.inc.php | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/admin/inc/class.admin_customfields.inc.php b/admin/inc/class.admin_customfields.inc.php index fb9d4acbe5..3252622163 100644 --- a/admin/inc/class.admin_customfields.inc.php +++ b/admin/inc/class.admin_customfields.inc.php @@ -51,6 +51,13 @@ class admin_customfields var $types2 = array(); var $content_types,$fields; + /** + * Does App uses content-types + * + * @var boolean + */ + protected $manage_content_types = false; + /** * Currently selected content type (if used by app) * @var string @@ -457,9 +464,9 @@ class admin_customfields * Allow extending apps a change to interfere and add content to support * their custom template. This is called right before etemplate->exec(). */ - protected function app_index(&$content, &$sel_options, &$readonlys) + protected function app_index(&$content, &$sel_options, &$readonlys, &$preserve) { - unset($content, $sel_options, $readonlys); // not used, as this is a stub + unset($content, $sel_options, $readonlys, $preserve); // not used, as this is a stub // This is just a stub. }