zibings / stoic-php-web

Apache License 2.0
0 stars 0 forks source link

Issue w/ PageHelper::getTitle() & Uninitialized Title/Prefix #2

Closed AndyM84 closed 5 years ago

AndyM84 commented 5 years ago

When using PageHelper::getTitle() with a title prefix that hasn't been initialized, an error is thrown:

Fatal error: Uncaught Error: Call to a member function isEmptyOrNullOrWhitespace() on null

Title prefix should always be a StringHelper when a PageHelper class is initialized.