From e47279b3f078b133a1ddb132264c401ed713357e Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Sun, 17 Apr 2011 01:28:25 +1000 Subject: theme update --- mod.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mod.php') diff --git a/mod.php b/mod.php index 14bed8d1..89085d66 100644 --- a/mod.php +++ b/mod.php @@ -286,7 +286,7 @@ // Check if everything is submitted foreach($theme['config'] as &$c) { if(!isset($_POST[$c['name']]) && $c['type'] != 'checkbox') - error(spritnf($config['error']['required'], $c['title'])); + error(sprintf($config['error']['required'], $c['title'])); } // Clear previous settings @@ -327,6 +327,8 @@ default: $body .= ''; } + if(isset($c['comment'])) + $body .= ' ' . $c['comment'] . ''; $body .= ''; } $body .= ''; -- cgit v1.3