diff options
| author | spiderr <spider@viovio.com> | 2013-04-11 12:36:05 -0400 |
|---|---|---|
| committer | spiderr <spider@viovio.com> | 2013-04-11 12:36:05 -0400 |
| commit | d9113fca36dfb1b7a44ebef42c4d9659b30d4156 (patch) | |
| tree | cb2a6265248efa31ce337b1f31936a0fc7a288d6 /BitThemes.php | |
| parent | 1b688b06740e0e6141a3fe959f90914e8bd130cb (diff) | |
| download | themes-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.php | 4 |
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)] ); + } } } } |
