Powerful and easy to use cms to build websites, blogs or ecommerce stores.
HTML backendblogblog-engineblog-platformbloggingcmscontent-managementcontent-management-systemecommerceecommerce-platformno-codepage-builderphpphp-cmsphp7php8self-hostedshopping-cartweb-applicationwebsite-builder
Check if params empty when triggering event
givanzb1bd5090c08b
diff --git a/system/event.php b/system/event.phpindex 0fd12c7..9161f11 100755--- a/system/event.php+++ b/system/event.php@@ -64,7 +64,7 @@ class Event {}//$params can be changed by events and be empty, set flag so that we know to return it- if (isset($params[0])) {+ if ($params || isset($params[0])) {$hasParams = true;}