Changeset 1571 for trunk/admin/comments.php
- Timestamp:
- Oct 21, 2006, 2:28:07 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/comments.php
r1154 r1571 47 47 $to_reject = array(); 48 48 49 if (isset($_POST['submit']) )49 if (isset($_POST['submit']) and !is_adviser()) 50 50 { 51 51 foreach (explode(',', $_POST['list']) as $comment_id) … … 69 69 } 70 70 } 71 else if (isset($_POST['validate-all']) and !empty($_POST['list']) )71 else if (isset($_POST['validate-all']) and !empty($_POST['list']) and !is_adviser()) 72 72 { 73 73 $to_validate = explode(',', $_POST['list']); 74 74 } 75 else if (isset($_POST['reject-all']) and !empty($_POST['list']) )75 else if (isset($_POST['reject-all']) and !empty($_POST['list']) and !is_adviser()) 76 76 { 77 77 $to_reject = explode(',', $_POST['list']);
Note: See TracChangeset
for help on using the changeset viewer.