Changeset 3299:18dc878c1178 for inc/core/class.dc.media.php
- Timestamp:
- 08/05/16 12:05:20 (9 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/core/class.dc.media.php
r3205 r3299 350 350 protected function sortFileHandler($a,$b) 351 351 { 352 if (is_null($a) || is_null($b)) { 353 return (is_null($a) ? 1 : -1); 354 } 352 355 switch ($this->file_sort) 353 356 { … … 485 488 } 486 489 } 487 usort($this->dir['files'],array($this,'sortFileHandler')); 490 try { 491 usort($this->dir['files'],array($this,'sortFileHandler')); 492 } catch (Exception $e) {} 488 493 } 489 494
Note: See TracChangeset
for help on using the changeset viewer.