aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-12-20 14:55:43 -0800
committerredmatrix <redmatrix@redmatrix.me>2015-12-20 14:55:43 -0800
commitf23e8f8d41f9fba23b0e65f9bf9fae1342ffc4d4 (patch)
treeabce5d057b603d8e196ea74726c3fde485b43a83 /include
parent61fa97baabd5fbb1b809b67e3ae717bd05fdbfd0 (diff)
downloadvolse-hubzilla-f23e8f8d41f9fba23b0e65f9bf9fae1342ffc4d4.tar.gz
volse-hubzilla-f23e8f8d41f9fba23b0e65f9bf9fae1342ffc4d4.tar.bz2
volse-hubzilla-f23e8f8d41f9fba23b0e65f9bf9fae1342ffc4d4.zip
merge hell
Diffstat (limited to 'include')
-rw-r--r--include/comanche.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/comanche.php b/include/comanche.php
index 1537226ca..ca3ad336b 100644
--- a/include/comanche.php
+++ b/include/comanche.php
@@ -287,8 +287,7 @@ function comanche_widget($name, $text) {
if(! function_exists($func)) {
if(file_exists('widget/' . trim($name) . '.php'))
require_once('widget/' . trim($name) . '.php');
- elseif(folder_exists('widget/'. trim($name))
- && (file_exists('widget/' . trim($name) . '/' . trim($name) . '.php')))
+ elseif(file_exists('widget/' . trim($name) . '/' . trim($name) . '.php'))
require_once('widget/' . trim($name) . '/' . trim($name) . '.php');
}
else {