diff --git a/typo3/sysext/backend/Classes/Utility/BackendUtility.php b/typo3/sysext/backend/Classes/Utility/BackendUtility.php
index af0275bea4b49ed3d66e330330e32293ac00e24d..7622378d42884cb998cd835ecdc9e699a2732526 100644
--- a/typo3/sysext/backend/Classes/Utility/BackendUtility.php
+++ b/typo3/sysext/backend/Classes/Utility/BackendUtility.php
@@ -1134,6 +1134,9 @@ class BackendUtility
      */
     public static function titleAttribForPages($row, $perms_clause = '', $includeAttrib = true)
     {
+        if (!isset($row['uid'])) {
+            return '';
+        }
         $lang = static::getLanguageService();
         $parts = [];
         $parts[] = 'id=' . $row['uid'];