Ignore:
Timestamp:
Dec 22, 2006 11:00:07 PM (18 years ago)
Author:
quinn
Message:

Q - added fileuploaded() to FormValidator?.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tags/2.0.2/lib/Utilities.inc.php

    r221 r222  
    472472 * @return string         Comma list of array values.
    473473 */
    474 function escapedList($in)
     474function escapedList($in, $separator="', 's")
    475475{
    476476    if (is_array($in) && !empty($in)) {
    477         return "'" . join("', '", array_map(array('DB', 'escapeString'), $in)) . "'";
     477        return join($separator, array_map(array('DB', 'escapeString'), $in));
    478478    } else {
    479479        return DB::escapeString($in);
Note: See TracChangeset for help on using the changeset viewer.