summaryrefslogtreecommitdiffstats
path: root/etc/inc/pkg-utils.inc
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2009-09-09 21:23:38 +0000
committerErmal Luçi <eri@pfsense.org>2009-09-09 21:23:38 +0000
commit9d3d1ac1c6936ec5646557561b0f7e3cf09c6025 (patch)
tree69e01631279e5a95548ee01c10e7a266bcfe369f /etc/inc/pkg-utils.inc
parent83cfae8d540e818cc661df271889cbd4614b3ecf (diff)
downloadpfsense-9d3d1ac1c6936ec5646557561b0f7e3cf09c6025.zip
pfsense-9d3d1ac1c6936ec5646557561b0f7e3cf09c6025.tar.gz
Make checks stronger.
Diffstat (limited to 'etc/inc/pkg-utils.inc')
-rw-r--r--etc/inc/pkg-utils.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/pkg-utils.inc b/etc/inc/pkg-utils.inc
index 38b42c6..7b45f7d 100644
--- a/etc/inc/pkg-utils.inc
+++ b/etc/inc/pkg-utils.inc
@@ -298,7 +298,7 @@ function sync_package($pkg_name, $sync_depends = true, $show_message = false) {
$pkg_config = parse_xml_config_pkg("/usr/local/pkg/" . $package['configurationfile'], "packagegui");
/* Bring in package include files */
- if (isset($pkg_config['include_file']) && $pkg_config['include_file'] != "") {
+ if (!empty($pkg_config['include_file'])) {
$include_file = $pkg_config['include_file'];
if (file_exists($include_file))
require_once($include_file);
OpenPOWER on IntegriCloud