Alexander Nicolaysen Sørnes : appBundle: Don't show deleted apps as part of bundle when editing

Alexander Nicolaysen Sørnes asornes at winehq.org
Tue Oct 27 19:11:41 CDT 2009


Module: appdb
Branch: master
Commit: 03bdcfd585ac9ad8e4c14942a05e3b1225391838
URL:    http://source.winehq.org/git/appdb.git/?a=commit;h=03bdcfd585ac9ad8e4c14942a05e3b1225391838

Author: Alexander Nicolaysen Sørnes <alexander at linux-xqqm.(none)>
Date:   Tue Oct 27 21:37:42 2009 +0100

appBundle: Don't show deleted apps as part of bundle when editing

---

 admin/editBundle.php |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/admin/editBundle.php b/admin/editBundle.php
index 03ac946..8243d5c 100644
--- a/admin/editBundle.php
+++ b/admin/editBundle.php
@@ -44,7 +44,8 @@ if($aClean['sCmd'])
 apidb_header("Edit Application Bundle");
 
 $hResult = query_parameters("SELECT bundleId, appBundle.appId, appName FROM appBundle, appFamily ".
-                            "WHERE bundleId = '?' AND appFamily.appId = appBundle.appId",
+                            "WHERE bundleId = '?' AND appFamily.appId = appBundle.appId
+                            AND appFamily.state != 'deleted'",
                             $aClean['iBundleId']);
 
 echo html_frame_start("Apps in this Bundle","300",'',0);




More information about the wine-cvs mailing list