summaryrefslogtreecommitdiff
path: root/BitInstaller.php
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2008-10-29 22:09:58 +0000
committerMax Kremmel <xing@synapse.plus.com>2008-10-29 22:09:58 +0000
commitd2839f376fafedebed4206c8c4b526e96eb4e327 (patch)
tree3335707bc4b8971672cc63546c4387c0cc5317e1 /BitInstaller.php
parentf3f647b3053290aa5ddb5884f2fe94317b643381 (diff)
downloadinstall-d2839f376fafedebed4206c8c4b526e96eb4e327.tar.gz
install-d2839f376fafedebed4206c8c4b526e96eb4e327.tar.bz2
install-d2839f376fafedebed4206c8c4b526e96eb4e327.zip
undefined var fix.
Diffstat (limited to 'BitInstaller.php')
-rw-r--r--BitInstaller.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/BitInstaller.php b/BitInstaller.php
index add02e1..d00827a 100644
--- a/BitInstaller.php
+++ b/BitInstaller.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_install/BitInstaller.php,v 1.42 2008/10/29 22:07:24 squareing Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_install/BitInstaller.php,v 1.43 2008/10/29 22:09:58 squareing Exp $
* @package install
*/
@@ -238,6 +238,7 @@ class BitInstaller extends BitSystem {
// only do this if we can load PEAR GraphViz interface
if( include_once( 'Image/GraphViz.php' )) {
$deps = $this->calculateDependencies();
+ $delKeys = $matches = array();
// crazy manipulation of hash to remove duplicate version matches.
// we do this that we can use double headed arrows in the graph below.
@@ -251,7 +252,6 @@ class BitInstaller extends BitSystem {
}
// get duplicates
- $delKeys = array();
foreach( $matches as $key => $match ) {
unset( $delKeys[$match] );
$delKeys[$key] = $match;