From 6ddbd6e9de06075f5e8bbfdb4d31d9cdda39d592 Mon Sep 17 00:00:00 2001 From: BastianHofmann Date: Tue, 17 Jun 2014 16:03:20 +0200 Subject: [PATCH] Fix is_element_empty util function. --- lib/utils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils.php b/lib/utils.php index 0b25bf7..955d8e8 100644 --- a/lib/utils.php +++ b/lib/utils.php @@ -10,5 +10,5 @@ function add_filters($tags, $function) { function is_element_empty($element) { $element = trim($element); - return empty($element) ? false : true; + return empty($element); }