From 7bd6b2481cd99b697cb7dcf2126bdcd1d610946c Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Thu, 23 May 2019 17:02:02 -0500 Subject: [PATCH] Apply patch for php-5.4 support see: https://git.drupalcode.org/project/quail_api/blob/7.x-1.x/miscellaneous/quail-php_54-2.patch --- quail/common/test.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/quail/common/test.php b/quail/common/test.php index 7157a02..ded8dfc 100644 --- a/quail/common/test.php +++ b/quail/common/test.php @@ -200,8 +200,10 @@ class quailTest { function getAllElements($tags = null, $options = false, $value = true) { if(!is_array($tags)) $tags = array($tags); - if($options !== false) - $tags = htmlElements::getElementsByOption($options, $value); + if($options !== false) { + $htmlElements = new htmlElements(); + $tags = $htmlElements->getElementsByOption($options, $value); + } $result = array(); if(!is_array($tags)) -- 1.8.3.1