Changeset:
ce506efb8fac
https://sourceforge.net/p/mrbs/hg-code/ci/ce506efb8facfaeeec1b2897981528a0f99fe9e9
Author:
Campbell Morrison <[email protected]>
Date:
Thu Feb 02 12:55:24 2017 +0000
Log message:
Fixed bug introduced in recent commit
diffstat:
web/functions.inc | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diffs (15 lines):
diff -r 93874f9750d0 -r ce506efb8fac web/functions.inc
--- a/web/functions.inc Tue Jan 31 17:23:17 2017 +0000
+++ b/web/functions.inc Thu Feb 02 12:55:24 2017 +0000
@@ -1329,6 +1329,11 @@
$params['attributes'] = implode(' ', $params['attributes']);
}
+ if (!is_array($params['value']))
+ {
+ $params['value'] = array($params['value']);
+ }
+
// generate the HTML
// no HTML escaping for the label - it is trusted
$html = '';
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits