[BUGFIX] Fix wrong string formatting 03/19703/2
authorFabien Udriot <fabien.udriot@ecodev.ch>
Wed, 13 Feb 2013 17:18:19 +0000 (18:18 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 6 Apr 2013 19:14:01 +0000 (21:14 +0200)
Fix wrong string formatting Resource Abstract Repository

Change-Id: I96a5c26d07410e8123ed8175183babaa019bf366
Resolves: #45467
Releases: 6.0
Releases: 6.1
Reviewed-on: https://review.typo3.org/19703
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/core/Classes/Resource/AbstractRepository.php

index b6a514b..bd07dda 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);
        }
@@ -241,4 +241,4 @@ abstract class AbstractRepository implements \TYPO3\CMS\Extbase\Persistence\Repo
 }
 
 
-?>
\ No newline at end of file
+?>