Ignore:
Timestamp:
Jul 10, 2012, 3:39:01 PM (12 years ago)
Author:
mistic100
Message:

-compatiblity with UserCollections
-don't crash for non-admin users (sic)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/BatchDownloader/include/functions.inc.php

    r16400 r16592  
    4444      $batch_type = 'search';
    4545      $batch_id = $page['search'];
     46      break;
     47    case 'collections':
     48      if (in_array(@$page['sub_section'], array('view','edit')))
     49      {
     50        $batch_type = 'collection';
     51        $batch_id = $page['col_id'];
     52      }
    4653      break;
    4754    case 'favorites':
Note: See TracChangeset for help on using the changeset viewer.