Skip to content

Commit 9207a67

Browse files
committed
operator not supported for strings
1 parent 9ce9b44 commit 9207a67

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • ForgeIgniter/modules/blog/controllers

ForgeIgniter/modules/blog/controllers/Admin.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ function add_post()
101101
);
102102

103103
// tidy tags
104-
$tags = '';
104+
$tags = [];
105105
if ($this->input->post('tags'))
106106
{
107107
foreach (explode(',', $this->input->post('tags')) as $tag)
@@ -175,7 +175,7 @@ function edit_post($postID)
175175
}
176176

177177
// tidy tags
178-
$tags = '';
178+
$tags = [];
179179
if ($this->input->post('tags'))
180180
{
181181
foreach (explode(',', $this->input->post('tags')) as $tag)

0 commit comments

Comments
 (0)