summaryrefslogtreecommitdiffstats
path: root/abs/core/mythtv/stable-0.25/mythweb/sorting.php.patch
blob: 2f762166a4e5c9bfb694eca91e79889ee68c6ea7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
*** includes/sorting.php.old	2011-04-03 06:05:31.000000000 -0500
--- includes/sorting.php	2012-03-27 05:05:51.000000000 -0500
***************
*** 123,129 ****
      function by_user_choice(&$a, &$b) {
          foreach ($GLOBALS['user_sort_choice'] as $sort) {
              $function = 'by_'.$sort['field'];
!             $response = $function(&$a, &$b);
          // Identical response, go on to the next sort choice
              if (!$response)
                  continue;
--- 123,129 ----
      function by_user_choice(&$a, &$b) {
          foreach ($GLOBALS['user_sort_choice'] as $sort) {
              $function = 'by_'.$sort['field'];
!             $response = $function($a, $b);
          // Identical response, go on to the next sort choice
              if (!$response)
                  continue;