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))) {