Skip to content
Permalink
Browse files

Cleanup: Swapped double to single quote + Removed extra line

  • Loading branch information...
pH-7 committed Aug 19, 2019
1 parent 761b2ed commit 8effaee62c97d48b2a906f08397adb8ac42c5724
Showing with 6 additions and 7 deletions.
  1. +6 −7 application/controllers/smiles.php
@@ -124,17 +124,16 @@ public function emotions()
$aliases[] = '(F) give_rose.gif';
foreach ($emoticons AS $emotion) {
$s = explode(" ", $emotion);
$data["word"] = $s[0];
$data["img"] = $s[1];
$s = explode(' ', $emotion);
$data['word'] = $s[0];
$data['img'] = $s[1];
$this->db->insert('emoticons', $data);
}
foreach ($aliases AS $emotion) {
$s = explode(" ", $emotion);
$data["word"] = $s[0];
$data["img"] = $s[1];
$s = explode(' ', $emotion);
$data['word'] = $s[0];
$data['img'] = $s[1];
$this->db->insert('emoticons', $data);
}
}
}

0 comments on commit 8effaee

Please sign in to comment.
You can’t perform that action at this time.