Changeset:
        04c083c470a1
        
https://sourceforge.net/p/mrbs/hg-code/ci/04c083c470a1a4b5fb7ae24fef8b39ddbcc0c161
Author:
        John Beranek <[email protected]>
Date:
        Sat Feb 11 16:36:52 2017 +0000
Log message:

Merged changes from default branch

diffstat:

 web/functions.inc |  5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diffs (15 lines):

diff -r 11333837a8ce -r 04c083c470a1 web/functions.inc
--- a/web/functions.inc Sat Feb 11 16:35:48 2017 +0000
+++ b/web/functions.inc Sat Feb 11 16:36:52 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

Reply via email to