Ignore:
Timestamp:
Jul 3, 2013 3:36:59 PM (11 years ago)
Author:
anonymous
Message:

Final check for active mysql connection. Changed truncate function arg defaults.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Utilities.inc.php

    r414 r419  
    276276 * @since   29 Mar 2006 13:48:49
    277277 */
    278 function truncate($str, $len, $where='middle', $delim='…')
     278function truncate($str, $len, $where='end', $delim='
')
    279279{
    280280    if ($len <= 3 || mb_strlen($str) <= 3) {
Note: See TracChangeset for help on using the changeset viewer.