summaryrefslogtreecommitdiff
path: root/BitThemes.php
diff options
context:
space:
mode:
authorspiderr <spider@viovio.com>2013-04-11 12:36:05 -0400
committerspiderr <spider@viovio.com>2013-04-11 12:36:05 -0400
commitd9113fca36dfb1b7a44ebef42c4d9659b30d4156 (patch)
treecb2a6265248efa31ce337b1f31936a0fc7a288d6 /BitThemes.php
parent1b688b06740e0e6141a3fe959f90914e8bd130cb (diff)
downloadthemes-d9113fca36dfb1b7a44ebef42c4d9659b30d4156.tar.gz
themes-d9113fca36dfb1b7a44ebef42c4d9659b30d4156.tar.bz2
themes-d9113fca36dfb1b7a44ebef42c4d9659b30d4156.zip
clean up getSiblingPhpFile on Smarty_Resource_Bitpackage::populate
Diffstat (limited to 'BitThemes.php')
-rw-r--r--BitThemes.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/BitThemes.php b/BitThemes.php
index d0f9010..e6211fe 100644
--- a/BitThemes.php
+++ b/BitThemes.php
@@ -1209,7 +1209,9 @@ class BitThemes extends BitSingleton {
}
}
closedir ($h);
- asort( $this->mModules[$pDir][$pPrefix][ucfirst( $key )] );
+ if( !empty( $this->mModules[$pDir][$pPrefix][ucfirst($key)] ) ) {
+ asort( $this->mModules[$pDir][$pPrefix][ucfirst($key)] );
+ }
}
}
}