diff --git a/src/Tags/Iconamic.php b/src/Tags/Iconamic.php index 65615d1..4a74725 100644 --- a/src/Tags/Iconamic.php +++ b/src/Tags/Iconamic.php @@ -110,7 +110,10 @@ protected function _getIcon(string $handle = null, bool $checkIconExistsOnly = f $icon = null; if (is_array($this->context) && array_key_exists($handle, $this->context) || isset($this->context[$handle])) { - $icon = $this->context[$handle]; + // if the context is NOT a string (if its a string, treat it as a manual one) + if (!is_string($this->context[$handle])) { + $icon = $this->context[$handle]; + } } // manual mode