summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohnAlbin2007-12-17 17:07:51 (GMT)
committer JohnAlbin2007-12-17 17:07:51 (GMT)
commitd039da6279c3b2d9e9754897462e85995a12050f (patch)
tree97001644705d5a8848e3ad1e3d8c008c2d08c2a2
parent60ec951ace46fd1a1f00a186d3b75bc12e2ca9f7 (diff)
Fixed fatal error when no settings are added to a sub-theme's settings.
-rw-r--r--SUBTHEME/theme-settings.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/SUBTHEME/theme-settings.php b/SUBTHEME/theme-settings.php
index fca67b6..b49e9da 100644
--- a/SUBTHEME/theme-settings.php
+++ b/SUBTHEME/theme-settings.php
@@ -32,6 +32,7 @@ function SUBTHEME_settings($saved_settings) {
/*
* Create the form using Forms API: http://api.drupal.org/api/5
*/
+ $form = array();
/* -- Delete this line if you want to use this setting
$form['subtheme_example'] = array(
'#type' => 'checkbox',