}
// got input rules now..
- if (!empty($row['comment'])) {
+ if (!empty($row['comments'])) {
- $row['comment'] = preg_replace('#^/\*#', '', trim($row['comment']) );
- $row['comment'] = preg_replace('#\*/$#', '', $row['comment'] );
- foreach((array)json_decode($row['comment']) as $k=>$v) {
+ $row['comments'] = preg_replace('#^/\*#', '', trim($row['comments']) );
+ $row['comments'] = preg_replace('#\*/$#', '', $row['comments'] );
+ foreach((array)json_decode($row['comments']) as $k=>$v) {
$row[$k] = $v;
}
}