diff options
author | Colin Smith <colin@pfsense.org> | 2005-03-12 23:44:41 +0000 |
---|---|---|
committer | Colin Smith <colin@pfsense.org> | 2005-03-12 23:44:41 +0000 |
commit | cdcfa55588b7a7f7929307881ec6579e02b97933 (patch) | |
tree | a02b8059bb247a63db239b66456893eb38ea8640 | |
parent | 2696882b97da7d80d1dae8f75e2b73e810751d18 (diff) | |
download | pfsense-cdcfa55588b7a7f7929307881ec6579e02b97933.zip pfsense-cdcfa55588b7a7f7929307881ec6579e02b97933.tar.gz |
...and a ).
-rw-r--r-- | etc/inc/pfsense-utils.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index 4540fe1..df8367a 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -678,7 +678,7 @@ ile']); $pkg_xml = parse_xml_config_pkg("/usr/local/pkg/" . $package_xml['configurationfile'], "packagegui"); if($pkg_xml['additional_files_needed'] != "") { foreach($pkg_xml['additional_files_needed'] as $item) { - if (($return_nosync == 0) && (isset($item['nosync'])) continue; // Do not return depends with nosync set if not required. + if (($return_nosync == 0) && (isset($item['nosync']))) continue; // Do not return depends with nosync set if not required. $depend_file = substr(strrchr($item['item']['0'], '/'),1); // Strip URLs down to filenames. $depend_name = substr(substr($depend_file,0,strpos($depend_file,".")+1),0,-1); // Strip filename down to dependency name. if (($filetype != "all") && (!preg_match("/${filetype}/i", $depend_file))) continue; |