From 88cc08adb7b41fd4f9da7674b4b2ee7c696e8f99 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Tue, 23 Jan 2018 12:33:48 +0100 Subject: [PATCH] Check only the appname cause not all apps may have title implemented --- admin/inc/class.admin_customfields.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/inc/class.admin_customfields.inc.php b/admin/inc/class.admin_customfields.inc.php index b6e4ca60db..53850f0b21 100644 --- a/admin/inc/class.admin_customfields.inc.php +++ b/admin/inc/class.admin_customfields.inc.php @@ -127,7 +127,7 @@ class admin_customfields { // determine appname $this->appname = $this->appname ? $this->appname : ($_GET['appname'] ? $_GET['appname'] : ($content['appname'] ? $content['appname'] : false)); - if(!$this->appname || !Api\Link::get_registry($this->appname, 'title')) die(lang('Error! No appname found')); + if(!$this->appname) die(lang('Error! No appname found')); $this->use_private = !isset($_GET['use_private']) || (boolean)$_GET['use_private'] || $content['use_private'];