Commit 20f57f50a7db6c30e8fd743c7ac1ef18e57d28c6
1 parent
febe30bb
Fixed preferences sytax errors
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5467 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
3 additions
and
2 deletions
preferences.php
| ... | ... | @@ -166,8 +166,9 @@ class PreferencesDispatcher extends KTStandardDispatcher { |
| 166 | 166 | $email_address = KTUtil::arrayGet($_REQUEST, 'email_address'); |
| 167 | 167 | if(strlen(trim($email_address))) { |
| 168 | 168 | $email_address = $this->oValidator->validateEmailAddress($email_address, |
| 169 | - KTUtil::meldOptions($aErrorOptions, array('message') => _kt('Invalid email address.'))); | |
| 170 | - } } | |
| 169 | + KTUtil::meldOptions($aErrorOptions, array('message' => _kt('Invalid email address.'))) | |
| 170 | + ); | |
| 171 | + } | |
| 171 | 172 | |
| 172 | 173 | $email_notifications = KTUtil::arrayGet($_REQUEST, 'email_notifications', false); |
| 173 | 174 | if ($email_notifications !== false) $email_notifications = true; | ... | ... |