From 2ae94af14fbbdb3677ec933b86e1d1863371e597 Mon Sep 17 00:00:00 2001 From: Nathan Gray <nathangray.bsc@gmail.com> Date: Tue, 18 Oct 2011 14:50:24 +0000 Subject: [PATCH] Allow '#' in field names, for custom fields --- etemplate/js/et2_core_phpExpressionCompiler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etemplate/js/et2_core_phpExpressionCompiler.js b/etemplate/js/et2_core_phpExpressionCompiler.js index 6f2a688739..376da51375 100644 --- a/etemplate/js/et2_core_phpExpressionCompiler.js +++ b/etemplate/js/et2_core_phpExpressionCompiler.js @@ -269,7 +269,7 @@ break; default: _p.pos--; - var result = _php_readString(_p, /[^A-Za-z0-9_]/); + var result = _php_readString(_p, /[^A-Za-z0-9_#]/); if (!result) {