[BUGFIX] Fix wrong string formatting 53/18253/2
authorFabien Udriot <fabien.udriot@ecodev.ch>
Wed, 13 Feb 2013 17:18:19 +0000 (18:18 +0100)
committerGeorg Ringer <georg.ringer@gmail.com>
Thu, 14 Feb 2013 09:57:56 +0000 (10:57 +0100)
Fix wrong string formatting Resource Abstract Repository

Change-Id: I96a5c26d07410e8123ed8175183babaa019bf366
Resolves: #45467
Releases: 6.0
Releases: 6.1
Reviewed-on: https://review.typo3.org/18253
Reviewed-by: Wouter Wolters
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
typo3/sysext/core/Classes/Resource/AbstractRepository.php

index 145eca8..7cc99e6 100644 (file)
@@ -191,7 +191,7 @@ abstract class AbstractRepository implements \TYPO3\CMS\Extbase\Persistence\Repo
                }
                $row = $GLOBALS['TYPO3_DB']->exec_SELECTgetSingleRow('*', $this->table, 'uid=' . intval($uid) . ' AND deleted=0');
                if (empty($row) || !is_array($row)) {
-                       throw new \RuntimeException('Could not find row with uid "' . $uid . '" in table $this->table.', 1314354065);
+                       throw new \RuntimeException('Could not find row with uid "' . $uid . '" in table ' . $this->table, 1314354065);
                }
                return $this->createDomainObject($row);
        }
@@ -273,4 +273,4 @@ abstract class AbstractRepository implements \TYPO3\CMS\Extbase\Persistence\Repo
 }
 
 
-?>
\ No newline at end of file
+?>