Changeset 2360 in ExiteCMS for trunk/forum/post.php
- Timestamp:
- 07/26/10 12:06:04 (22 months ago)
- File:
-
- 1 edited
-
trunk/forum/post.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/forum/post.php
r2358 r2360 72 72 73 73 // is a prefix required? 74 if ( !empty($fdata['forum_prefixes']) && empty($_POST['new_prefix'])) {74 if ($fdata['forum_prefix'] && !empty($fdata['forum_prefixes']) && empty($_POST['new_prefix'])) { 75 75 return $locale['475']; 76 76 } … … 691 691 } 692 692 } 693 $subject = add_prefix($subject, stripinput($_POST['new_prefix'])); 693 if ($fdata['forum_prefix']) { 694 $subject = add_prefix($subject, stripinput($_POST['new_prefix'])); 695 } 694 696 $message = trim(stripmessageinput(censorwords($_POST['message']))); 695 697 if ($action == 'edit') {
Note: See TracChangeset
for help on using the changeset viewer.
