From 3982066b1d79995515f85136a79126d7f2fe678e Mon Sep 17 00:00:00 2001 From: Cameron Date: Wed, 15 Jan 2014 04:06:14 -0800 Subject: [PATCH] Log missing legacy icons --- e107_handlers/e_parse_class.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/e107_handlers/e_parse_class.php b/e107_handlers/e_parse_class.php index 6862e0bef..07c918417 100644 --- a/e107_handlers/e_parse_class.php +++ b/e107_handlers/e_parse_class.php @@ -2771,9 +2771,10 @@ class e_parser { $path = $parm['legacy'].$icon; } - elseif(ADMIN) + else { - return "Broken Image Path: ".$icon; + $log = e107::getAdminLog(); + $log->addDebug('Broken Icon Path: '.$icon, false)->save('IMALAN_00'); } }