summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Sutcliffe <dansut@users.sourceforge.net>2010-01-25 15:56:58 +0000
committerDaniel Sutcliffe <dansut@users.sourceforge.net>2010-01-25 15:56:58 +0000
commitb26451df641a33092de6cdb3ed302dea6507cec8 (patch)
tree47e33395fbeaa727350a1812a667b47eecf8d377
parent687377857e5f258ab8be76dc1fd6f3ce56cf63cb (diff)
downloadthemes-b26451df641a33092de6cdb3ed302dea6507cec8.tar.gz
themes-b26451df641a33092de6cdb3ed302dea6507cec8.tar.bz2
themes-b26451df641a33092de6cdb3ed302dea6507cec8.zip
Custom module names in the Themes, Module Layouts dropdown were broken, this fixes
-rw-r--r--BitThemes.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/BitThemes.php b/BitThemes.php
index 69cbe32..6a97eaa 100644
--- a/BitThemes.php
+++ b/BitThemes.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_themes/BitThemes.php,v 1.103 2009/11/23 20:35:39 wjames5 Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_themes/BitThemes.php,v 1.104 2010/01/25 15:56:58 dansut Exp $
* @package themes
*/
@@ -925,7 +925,7 @@ class BitThemes extends BitBase {
if(( $modules = $this->getCustomModuleList() ) && $pPrefix == 'mod_' ) {
foreach( $modules as $m ) {
- $this->mModules[$pDir][$pPrefix][tra( 'Custom Modules' )]['_custom:custom/'.$m["name"]] = $m["name"];
+ $this->mModules[$pDir][$pPrefix][tra( 'Custom Modules' )]['_custom:custom/'.$m["name"]] = array( 'title' => $m["name"] );
}
}