Rosanne DiMesio : Add case Cancel to processForm()

Jeremy Newman jnewman at winehq.org
Thu Aug 10 13:37:38 CDT 2017


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

Author: Rosanne DiMesio <dimesio at earthlink.net>
Date:   Thu Aug 10 12:12:18 2017 -0500

Add case Cancel to processForm()

Most of the error_log entries are due to its absence.
Also corrects a typo in a nearby comment.

Signed-off-by: Rosanne DiMesio <dimesio at earthlink.net>
Signed-off-by: Jeremy Newman <jnewman at codeweavers.com>

---

 include/objectManager.php | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/include/objectManager.php b/include/objectManager.php
index 36df560..2f19b64 100644
--- a/include/objectManager.php
+++ b/include/objectManager.php
@@ -1456,13 +1456,16 @@ class ObjectManager
                 break;
 
             case "Delete":
-                /* Heere we call an objectManager function instead
+                /* Here we call an objectManager function instead
                    of a function of the object's class.  Thus we
                    need to store the object so changes in
                    getOutputEditorValues() are caught. */
                 $this->oObject = $oObject;
                 $this->delete_entry($aClean['sReplyText']);
                 break;
+                
+            case "Cancel":
+                break;
 
             default:
               // shouldn't end up here, log the submit type that landed us here




More information about the wine-cvs mailing list