fix: append text to variable (as originally intended)

without this change, the text won't be used or display ever
pull/1551/head
Andreas Ziegler 2016-09-21 02:07:44 +02:00
parent e137e2f4e7
commit 4a34ffe33e
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ class TaxonomiesController extends AppController {
else if ($successes == 0) $this->Session->setFlash('Could not update any of the taxonomy libraries');
else {
$message = 'Successfully updated ' . $successes . ' taxonomy libraries.';
if ($fails != 0) $message . ' However, could not update ' . $fails . ' taxonomy libraries.';
if ($fails != 0) $message .= ' However, could not update ' . $fails . ' taxonomy libraries.';
$this->Session->setFlash($message);
}
$this->redirect(array('controller' => 'taxonomies', 'action' => 'index'));