[BUGFIX] Remove double space in exception message 79/58079/2
authorBenni Mack <benni@typo3.org>
Thu, 30 Aug 2018 06:28:39 +0000 (08:28 +0200)
committerBenni Mack <benni@typo3.org>
Thu, 30 Aug 2018 06:41:21 +0000 (08:41 +0200)
Minor issue in exception messages.

Resolves: #86033
Releases: master
Change-Id: I0e133bb3a609dda611757fb5a92465295b3a377d
Reviewed-on: https://review.typo3.org/58079
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/core/Classes/Site/PseudoSiteFinder.php
typo3/sysext/core/Classes/Site/SiteFinder.php

index 8fe6efa..63fd61f 100644 (file)
@@ -174,7 +174,7 @@ class PseudoSiteFinder
                 return $this->pseudoSites[(int)$pageInRootLine['uid']];
             }
         }
-        throw new SiteNotFoundException('No pseudo-site found in root line of page  ' . $pageId, 1534710048);
+        throw new SiteNotFoundException('No pseudo-site found in root line of page ' . $pageId, 1534710048);
     }
 
     /**
index 6a2986d..a1ac106 100644 (file)
@@ -121,6 +121,6 @@ class SiteFinder
                 return $this->sites[$this->mappingRootPageIdToIdentifier[(int)$pageInRootLine['uid']]];
             }
         }
-        throw new SiteNotFoundException('No site found in root line of page  ' . $pageId, 1521716622);
+        throw new SiteNotFoundException('No site found in root line of page ' . $pageId, 1521716622);
     }
 }