From 3b77906c8cc77d263a79ec9ac97a037bd306599d Mon Sep 17 00:00:00 2001 From: Emman Nelson Date: Tue, 27 Nov 2018 19:22:11 +0100 Subject: [PATCH] Illegal string offset --- Mybreadcrumb.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Mybreadcrumb.php b/Mybreadcrumb.php index e27e779..8d85b7a 100644 --- a/Mybreadcrumb.php +++ b/Mybreadcrumb.php @@ -3,7 +3,7 @@ class CI_Mybreadcrumb { private $breadcrumbs = array(); - private $tags = ""; + private $tags = array(); function __construct() { @@ -51,7 +51,7 @@ function itemCloseTage($tags=""){ } function render(){ - +tagstags if(!empty($this->tags['open'])){ $output = $this->tags['open']; }else{