Changeset 5077
- Timestamp:
- 08/19/2013 07:05:19 AM (13 years ago)
- File:
-
- 1 edited
-
trunk/includes/topics/functions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/topics/functions.php
r5060 r5077 277 277 278 278 // Check a whitelist of possible topic status ID's 279 } elseif ( i n_array( $_POST['bbp_topic_status'], array( bbp_get_public_status_id(), bbp_get_closed_status_id(), bbp_get_spam_status_id(), bbp_get_pending_status_id(), bbp_get_trash_status_id(), bbp_get_orphan_status_id() ) ) ) {279 } elseif ( isset( $_POST['bbp_topic_status'] ) && in_array( $_POST['bbp_topic_status'], array_keys( bbp_get_topic_statuses() ) ) ) { 280 280 $topic_status = $_POST['bbp_topic_status']; 281 281 … … 613 613 614 614 // Check a whitelist of possible topic status ID's 615 } elseif ( i n_array( $_POST['bbp_topic_status'], array( bbp_get_public_status_id(), bbp_get_closed_status_id(), bbp_get_spam_status_id(), bbp_get_pending_status_id(), bbp_get_trash_status_id(), bbp_get_orphan_status_id() ) ) ) {615 } elseif ( isset( $_POST['bbp_topic_status'] ) && in_array( $_POST['bbp_topic_status'], array_keys( bbp_get_topic_statuses() ) ) ) { 616 616 $topic_status = $_POST['bbp_topic_status']; 617 617
Note: See TracChangeset
for help on using the changeset viewer.