]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/profileformaction.php
rename config option site/logdebug to log/debugtrace
[quix0rs-gnu-social.git] / lib / profileformaction.php
index bfc7a3c7dedf12d11388e346623afab435cd3df2..1e00e6f12b80c5102ad454386d8c3acd48ca8c3b 100644 (file)
@@ -92,8 +92,6 @@ class ProfileFormAction extends RedirectingAction
     /**
      * Handle request
      *
-     * Shows a page with list of favorite notices
-     *
      * @param array $args $_REQUEST args; handled in prepare()
      *
      * @return void
@@ -103,7 +101,11 @@ class ProfileFormAction extends RedirectingAction
         parent::handle($args);
 
         if ($_SERVER['REQUEST_METHOD'] == 'POST') {
-            $this->handlePost();
+            try {
+                $this->handlePost();
+            } catch (AlreadyFulfilledException $e) {
+                // 'tis alright
+            }
             $this->returnToPrevious();
         }
     }