[FOLLOWUP][FEATURE] Implement configuration for CKEditor 55/51555/2
authorFrans Saris <franssaris@gmail.com>
Mon, 6 Feb 2017 13:10:44 +0000 (14:10 +0100)
committerGeorg Ringer <georg.ringer@gmail.com>
Mon, 6 Feb 2017 13:15:15 +0000 (14:15 +0100)
Use correct field to determine page uid

Resolves: #78917
Releases: master
Change-Id: I01101640ff8ac1d801ef1619f8bc3c885aee2713
Reviewed-on: https://review.typo3.org/51555
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
typo3/sysext/rte_ckeditor/Classes/Controller/BrowseLinksController.php

index 4138639..e259fc1 100644 (file)
@@ -530,7 +530,7 @@ class BrowseLinksController extends AbstractLinkBrowserController
      */
     protected function getCurrentPageId()
     {
-        return (int)$this->editorDetails['uid'];
+        return (int)$this->editorDetails['pid'];
     }
 
     /**