------------------------------------------------------------
revno: 1063
committer: Roger Martin <[email protected]>
branch nick: aikiframework
timestamp: Thu 2012-02-02 22:08:12 +0100
message:
  correction in regex
modified:
  libs/config.php


--
lp:aikiframework
https://code.launchpad.net/~aikiframework-devel/aikiframework/trunk

Your team Aiki Framework Developers is subscribed to branch lp:aikiframework.
To unsubscribe from this branch go to 
https://code.launchpad.net/~aikiframework-devel/aikiframework/trunk/+edit-subscription
=== modified file 'libs/config.php'
--- libs/config.php	2012-02-01 22:40:03 +0000
+++ libs/config.php	2012-02-02 21:08:12 +0000
@@ -209,7 +209,7 @@
 		if (is_array($values)) {
 			foreach ($values as $value) {				 
 				if ($aiki->match_pair($value->config_selector, $site, $view, $language)) {
-					if ( preg_match ('/$[asidb]:/', $value->config_value) ) {
+					if ( preg_match ('/^[asidb]:/', $value->config_value) ) {
 						$ret= unserialize($value->config_value);
 					} else {
 						$ret= $value->config_value;

_______________________________________________
Mailing list: https://launchpad.net/~aikiframework-devel
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~aikiframework-devel
More help   : https://help.launchpad.net/ListHelp

Reply via email to