Commit 5dd58675 by Seldaek

Fixes the fix..

git-svn-id: svn://dwoo.org/dwoo/trunk@152 0598d79b-80c4-4d41-97ba-ac86fbbd088b
parent 11ad7005
......@@ -3,6 +3,8 @@
extended template
* Fixed extends bug when extending files in other directories using relative
paths
* Fixed parsing bug with |modifier:param|modifier2} with:colon after it
* Bug fixed with smarty functions called with no parameters (in compat mode)
[2008-08-03] 0.9.3
+ Adapters: Added the ZendFramework interface for Dwoo
......
......@@ -2296,7 +2296,7 @@ class Dwoo_Compiler implements Dwoo_ICompiler
}
$cmdstr = $cmdstrsrc;
$paramsep = ':';
if (!preg_match('/^(@{0,2}[a-z][a-z0-9_]*)(:)?/', $cmdstr, $match)) {
if (!preg_match('/^(@{0,2}[a-z][a-z0-9_]*)(:)?/i', $cmdstr, $match)) {
throw new Dwoo_Compilation_Exception($this, 'Invalid modifier name, started with : '.substr($cmdstr, 0, 10));
}
$paramspos = !empty($match[2]) ? strlen($match[1]) : false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment