Fixed bug #16459 Add uid of overlay record to rootline (Thanks to Mathias Schreiber)
[Packages/TYPO3.CMS.git] / t3lib / class.t3lib_page.php
index 5275ce9..8deb0a1 100644 (file)
@@ -346,6 +346,7 @@ class t3lib_pageSelect {
 
                                if (is_array($row)) {
                                        $row['_PAGES_OVERLAY'] = TRUE;
+                                       $row['_PAGES_OVERLAY_UID'] = $row['uid'];
 
                                                // Unset vital fields that are NOT allowed to be overlaid:
                                        unset($row['uid']);