Fix setting no sound for alarms
authorMichael M Slusarz <slusarz@curecanti.org>
Thu, 18 Feb 2010 01:20:28 +0000 (18:20 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Thu, 18 Feb 2010 07:46:02 +0000 (00:46 -0700)
horde/admin/alarms.php

index 8c06cfc..a83ac53 100644 (file)
@@ -57,7 +57,7 @@ if ($form->validate()) {
     }
 
     // Full path to any sound files.
-    if (isset($params['notify']['sound'])) {
+    if (!empty($params['notify']['sound'])) {
         $params['notify']['sound'] = $registry->get('themesuri', 'horde') . '/sounds/' . $params['notify']['sound'];
     }