diff --git a/src/util/AgaviToolkit.class.php b/src/util/AgaviToolkit.class.php index 94db7a579..40f12285b 100644 --- a/src/util/AgaviToolkit.class.php +++ b/src/util/AgaviToolkit.class.php @@ -322,7 +322,7 @@ public static function expandDirectives($value) do { $oldvalue = $value; $value = preg_replace_callback( - '/\%([\w\.]+?)\%/', + '/\%([\w\.\-]+?)\%/', array('AgaviToolkit', 'expandDirectivesCallback'), $value ); @@ -529,4 +529,4 @@ public static function extractShortActionName($longActionName) } } -?> \ No newline at end of file +?>