[BUGFIX] Minor code cleanups
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / Classes / Controller / EditDocumentController.php
index 4368192..fbf37a5 100644 (file)
@@ -726,7 +726,7 @@ class EditDocumentController
             || isset($parsedBody['_saveandclosedok'])
         ) {
             // Redirect if element should be closed after save
-            return $this->closeDocument(abs($this->closeDoc), $request);
+            return $this->closeDocument((int)abs($this->closeDoc), $request);
         }
         return null;
     }