Skip to content

Commit 0d8139c

Browse files
committed
Merge branch 'master' of git://github.com/slywalker/cakephp-plugin-boost_cake
2 parents a25ab6a + 7fa9a46 commit 0d8139c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

View/Helper/BoostCakeFormHelper.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ public function input($fieldName, $options = array()) {
115115
}
116116
$regex = '/(<label.*?>)(.*?<\/label>)/';
117117
if (preg_match($regex, $html, $label)) {
118+
$label = str_replace('$', '\$', $label);
118119
$html = preg_replace($regex, '', $html);
119120
$html = preg_replace(
120121
'/(<input type="checkbox".*?>)/',
@@ -273,4 +274,4 @@ public function postLink($title, $url = null, $options = array(), $confirmMessag
273274
return $out;
274275
}
275276

276-
}
277+
}

0 commit comments

Comments
 (0)