Alexander Nicolaysen Sørnes : objectManager: Add action var to form tag when adding entries

Chris Morgan cmorgan at winehq.org
Sun Oct 21 12:12:42 CDT 2007


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

Author: Alexander Nicolaysen Sørnes <alex at thehandofagony.com>
Date:   Sun Oct 21 13:24:39 2007 +0200

objectManager: Add action var to form tag when adding entries

---

 include/objectManager.php |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/include/objectManager.php b/include/objectManager.php
index 75de915..9212633 100644
--- a/include/objectManager.php
+++ b/include/objectManager.php
@@ -758,7 +758,9 @@ class ObjectManager
                 $oObject->objectDisplayAddItemHelp();
         }
 
-        echo "<form method=\"post\">\n";
+        echo "<form method=\"post\" action=\"".$this->makeUrl("add")."\">\n";
+
+        echo $this->makeUrlFormData();
 
         $aVars = $this->get_custom_vars($aClean, "add");
 




More information about the wine-cvs mailing list