Changeset 10008
- Timestamp:
- Apr 3, 2011, 11:57:49 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/batch_manager_global.php
r9916 r10008 118 118 if ('add_tags' == $action) 119 119 { 120 $tag_ids = get_fckb_tag_ids($_POST['add_tags']); 121 add_tags($tag_ids, $collection); 122 123 if ('with no tag' == $page['prefilter']) 124 { 125 redirect(get_root_url().'admin.php?page='.$_GET['page']); 120 if (empty($_POST['add_tags'])) 121 { 122 array_push($page['errors'], l10n('Select at least one tag')); 123 } 124 else 125 { 126 $tag_ids = get_fckb_tag_ids($_POST['add_tags']); 127 add_tags($tag_ids, $collection); 128 129 if ('with no tag' == $page['prefilter']) 130 { 131 redirect(get_root_url().'admin.php?page='.$_GET['page']); 132 } 126 133 } 127 134 }
Note: See TracChangeset
for help on using the changeset viewer.