Commits

Christoffer Niska committed e2a3e56

Fixed an issue with parsing breadcrumbs for the SeoTitle widget.

Comments (0)

Files changed (1)

widgets/SeoTitle.php

 			if (($breadcrumbs = $controller->breadcrumbs) !== array())
 			{
 				foreach ($breadcrumbs as $key => $value)
-					$parts[] = !empty($value) ? $value : $key;
+					$parts[] = is_string($key) || is_array($value) ? $key : $value;
 
 				$parts = array_reverse($parts);
 			}