- Timestamp:
- Dec 23, 2013, 9:17:28 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Subscribe_to_comments/admin/subscriptions.php
r21608 r26139 1 1 <?php 2 if (!defined('SUBSCRIBE_TO_PATH'))die('Hacking attempt!');2 defined('SUBSCRIBE_TO_PATH') or die('Hacking attempt!'); 3 3 4 4 if (isset($_GET['delete'])) … … 64 64 ); 65 65 } 66 66 67 67 $row['type'] = str_replace('-', '_', $row['type']); // fields are accessed in Smarty, incompatible with keys containing a '-' 68 68 $users[ $row['email'] ]['subs'][ $row['type'] ]++; … … 76 76 { 77 77 uasort($users, 'stc_sort_'.$_POST['order_by']); 78 78 79 79 if ($_POST['direction'] == 'DESC') 80 80 { … … 156 156 return strcasecmp($a['username'].$a['email'], $b['username'].$b['email']); 157 157 } 158 159 ?>
Note: See TracChangeset
for help on using the changeset viewer.