Alexander Nicolaysen Sørnes : Fix edit link on queued items page

Chris Morgan cmorgan at winehq.org
Wed Oct 1 18:53:27 CDT 2008


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

Author: Alexander Nicolaysen Sørnes <alex at thehandofagony.com>
Date:   Thu Oct  2 00:26:43 2008 +0200

Fix edit link on queued items page

---

 include/application.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/application.php b/include/application.php
index 57fcb57..da2bab3 100644
--- a/include/application.php
+++ b/include/application.php
@@ -911,7 +911,7 @@ class Application {
 
             if($bQueued)
             {
-                $oM = new objectManager('application');
+                $oM = new objectManager('application_queue');
                 $oM->setReturnTo(array_key_exists('REQUEST_URI', $_SERVER) ? $_SERVER['REQUEST_URI'] : "");
                 $shDeleteLink = '<a href="'.$oM->makeUrl("delete", $oApp->iAppId, "Delete entry").'">delete</a>';
                 $shEditLink = '<a href="'.$oM->makeUrl("edit", $oApp->iAppId, "Edit entry").'">edit</a>';




More information about the wine-cvs mailing list