Ignore:
Timestamp:
Dec 23, 2013, 9:17:28 PM (10 years ago)
Author:
mistic100
Message:

update for 2.6

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Subscribe_to_comments/admin/subscriptions.php

    r21608 r26139  
    11<?php
    2 if (!defined('SUBSCRIBE_TO_PATH')) die('Hacking attempt!');
     2defined('SUBSCRIBE_TO_PATH') or die('Hacking attempt!');
    33
    44if (isset($_GET['delete']))
     
    6464      );
    6565  }
    66  
     66
    6767  $row['type'] = str_replace('-', '_', $row['type']); // fields are accessed in Smarty, incompatible with keys containing a '-'
    6868  $users[ $row['email'] ]['subs'][ $row['type'] ]++;
     
    7676  {
    7777    uasort($users, 'stc_sort_'.$_POST['order_by']);
    78    
     78
    7979    if ($_POST['direction'] == 'DESC')
    8080    {
     
    156156  return strcasecmp($a['username'].$a['email'], $b['username'].$b['email']);
    157157}
    158 
    159 ?>
Note: See TracChangeset for help on using the changeset viewer.