mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 10:54:27 +02:00
- bugfix variable name typo in {html_options} and {html_checkboxes} (Issue #54)
This commit is contained in:
@@ -1,4 +1,8 @@
|
|||||||
===== trunk =====
|
===== trunk =====
|
||||||
|
10.10.2011
|
||||||
|
- bugfix variable name typo in {html_options} and {html_checkboxes} (Issue #54)
|
||||||
|
|
||||||
|
===== Smarty-3.1.3 =====
|
||||||
07.10.2011
|
07.10.2011
|
||||||
- improvement removed html comments from {mailto} (Forum Topic 20092)
|
- improvement removed html comments from {mailto} (Forum Topic 20092)
|
||||||
- bugfix testInstall() would not show path to internal plugins_dir (Forum Post 74627)
|
- bugfix testInstall() would not show path to internal plugins_dir (Forum Post 74627)
|
||||||
|
@@ -84,7 +84,7 @@ function smarty_function_html_checkboxes($params, $template)
|
|||||||
foreach ($_val as $_sel) {
|
foreach ($_val as $_sel) {
|
||||||
if (is_object($_sel)) {
|
if (is_object($_sel)) {
|
||||||
if (method_exists($_sel, "__toString")) {
|
if (method_exists($_sel, "__toString")) {
|
||||||
$selected = smarty_function_escape_special_chars((string) $_sel->__toString());
|
$_sel = smarty_function_escape_special_chars((string) $_sel->__toString());
|
||||||
} else {
|
} else {
|
||||||
trigger_error("html_checkboxes: selected attribute contains an object of class '". get_class($_sel) ."' without __toString() method", E_USER_NOTICE);
|
trigger_error("html_checkboxes: selected attribute contains an object of class '". get_class($_sel) ."' without __toString() method", E_USER_NOTICE);
|
||||||
continue;
|
continue;
|
||||||
|
@@ -70,7 +70,7 @@ function smarty_function_html_options($params, $template)
|
|||||||
foreach ($_val as $_sel) {
|
foreach ($_val as $_sel) {
|
||||||
if (is_object($_sel)) {
|
if (is_object($_sel)) {
|
||||||
if (method_exists($_sel, "__toString")) {
|
if (method_exists($_sel, "__toString")) {
|
||||||
$selected = smarty_function_escape_special_chars((string) $_sel->__toString());
|
$_sel = smarty_function_escape_special_chars((string) $_sel->__toString());
|
||||||
} else {
|
} else {
|
||||||
trigger_error("html_options: selected attribute contains an object of class '". get_class($_sel) ."' without __toString() method", E_USER_NOTICE);
|
trigger_error("html_options: selected attribute contains an object of class '". get_class($_sel) ."' without __toString() method", E_USER_NOTICE);
|
||||||
continue;
|
continue;
|
||||||
|
Reference in New Issue
Block a user