From ab09b2ad4caea4f4315b2f2c0ecdb49cfbd1a548 Mon Sep 17 00:00:00 2001 From: ppound Date: Mon, 26 Apr 2021 11:33:10 -0300 Subject: [PATCH] patch for php74 --- includes/faces.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/includes/faces.inc b/includes/faces.inc index a1fc93b..3fcefb2 100644 --- a/includes/faces.inc +++ b/includes/faces.inc @@ -224,6 +224,8 @@ if (!class_exists('FacesExtendable', FALSE)) { * describe a single file. */ public function extend($interface, array $callbacks = array(), array $includes = array()) { +//UPEI added line below + $interface = class_exists($interface) ? $interface : FALSE; $face_methods = $interface ? get_class_methods($interface) : array_keys($callbacks); if ($interface) { if (array_diff($face_methods, array_keys($callbacks))) {