Changeset 18331 for extensions/ContactForm/include/contact_form.inc.php
- Timestamp:
- Sep 28, 2012, 1:58:02 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/ContactForm/include/contact_form.inc.php
r18315 r18331 27 27 { 28 28 case 'validate': 29 array_push($page['infos'], l10n('E-mail sent successfully')); 30 unset($contact); 29 $_SESSION['page_infos'][] = l10n('E-mail sent successfully'); 30 if (!empty($conf['ContactForm']['cf_redirect_url'])) 31 { 32 redirect($conf['ContactForm']['cf_redirect_url']); 33 } 34 else 35 { 36 redirect(CONTACT_FORM_PUBLIC); 37 } 31 38 break; 32 39 case 'moderate': … … 34 41 break; 35 42 default: 36 trigger_error('Invalid commentaction '.$comment_action, E_USER_WARNING);43 trigger_error('Invalid action '.$comment_action, E_USER_WARNING); 37 44 } 38 45 }
Note: See TracChangeset
for help on using the changeset viewer.