Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Quoting settings files containing On or Off since they are parsed as …

…booleans since PHP 5.3
  • Loading branch information...
commit 266ca2ff081d82e80f0eb0cfcb13cd4b833367c8 1 parent aa80417
@Semias Semias authored
View
4 inc/app/devfiles/forms/settings/settings.php
@@ -6,12 +6,12 @@
[files]
-alt = Allow new files
+alt = "Allow new files"
type = select
[files_date]
-alt = Turn files off on
+alt = "Turn files off on"
type = date
[contact]
View
4 inc/app/devnotes/forms/settings/settings.php
@@ -6,12 +6,12 @@
[notes]
-alt = Allow new notes
+alt = "Allow new notes"
type = select
[notes_date]
-alt = Turn notes off on
+alt = "Turn notes off on"
type = date
[contact]
View
2  saf/lib/Template/Transformation.php
@@ -160,7 +160,7 @@ function transform ($value, $import = '') {
return $value;
}
} elseif ($this->type == 'alternate') {
- list ($first, $second) = preg_split ('/:/', $this->rule);
+ list ($first, $second) = explode (':', $this->rule);
if (! isset ($this->_previous) || $this->_previous == $second) {
$this->_previous = $first;
return $first;
Please sign in to comment.
Something went wrong with that request. Please try again.