ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/reports/php/shared/iutils.inc.php
(Generate patch)

Comparing projects/cms/source/reports/php/shared/iutils.inc.php (file contents):
Revision 1.5 by tdb, Sun Aug 1 10:40:30 2004 UTC vs.
Revision 1.7 by tdb, Fri Mar 11 17:29:14 2005 UTC

# Line 34 | Line 34 | function getdirArray($dir='./',$sort='asort') {
34          if($fd == TRUE) {
35              closedir($fd);
36          }
37 <        if (is_array($dir_array)) {
37 >        if (isset($dir_array) && is_array($dir_array)) {
38              $sort($dir_array);
39              $dir_file_count = count($dir_array);
40              Return $dir_array;
# Line 46 | Line 46 | function getdirArray($dir='./',$sort='asort') {
46      }
47   }
48  
49 < ?>
49 > ?>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines