Merge pull request #2357 from gproly/BUG-14203

SOLVED: the variable $i is used in several places in an ambiguous way, a...
This commit is contained in:
julceslauhub
2014-05-06 22:15:02 -03:00

View File

@@ -554,11 +554,11 @@ class Configurations // extends Configuration
$creationDateMask = str_replace(' \\d\\e ', ' [xx] ', $creationDateMask);
}
for ($i = 0; $i < strlen($creationDateMask); $i++) {
if ($creationDateMask[$i] != ' ' && isset($maskTime[$creationDateMask[$i]])) {
$newCreation .= $maskTime[$creationDateMask[$i]];
for ($j = 0; $j < strlen($creationDateMask); $j++) {
if ($creationDateMask[$j] != ' ' && isset($maskTime[$creationDateMask[$j]])) {
$newCreation .= $maskTime[$creationDateMask[$j]];
} else {
$newCreation .= $creationDateMask[$i];
$newCreation .= $creationDateMask[$j];
}
}