From 09201c7ecbed0db6b1c50c28c3ce29884a42675a Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Sat, 8 Oct 2005 14:54:01 +0000 Subject: [PATCH] Fix for apps showing post-install dependency failure even though they are not installed. --- setup/inc/class.setup_detection.inc.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/setup/inc/class.setup_detection.inc.php b/setup/inc/class.setup_detection.inc.php index 1d6912a92f..f64505660a 100755 --- a/setup/inc/class.setup_detection.inc.php +++ b/setup/inc/class.setup_detection.inc.php @@ -188,7 +188,10 @@ /* Only set this if it has not already failed to upgrade - Milosch */ if($setup_info[$key]['status'] != 'F')//&& $setup_info[$key]['status'] != 'C') { - if($setup_info[$key]['status'] == 'C') + /* Added check for status U - uninstalled apps carry this flag (upgrade from nothing == install). + * This should fix apps showing post-install dep failure when they are not yet installed. + */ + if($setup_info[$key]['status'] == 'C' || $setup_info[$key]['status'] == 'U') { $setup_info[$key]['status'] = 'D'; }