Skip to content

Commit

Permalink
Merge pull request #300 from Valc/simple-develop
Browse files Browse the repository at this point in the history
Add missed sections syntax
  • Loading branch information
infograf768 committed Mar 27, 2016
2 parents 3484c58 + feb6b1f commit 45752fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion component/admin/models/translation.php
Expand Up @@ -1351,7 +1351,7 @@ public function saveFile($data)
// Section lines
elseif (preg_match('/^\[([^\]]*)\]\s*$/', $line, $matches))
{
$contents[] = $matches[1] . "\n";
$contents[] = "[" . $matches[1] . "]\n";
}
// Key lines
elseif (preg_match('/^([A-Z][A-Z0-9_\*\-\.]*)\s*=/', $line, $matches))
Expand Down

0 comments on commit 45752fb

Please sign in to comment.