Index: branches/5.2.x/core/kernel/db/db_connection.php =================================================================== diff -u -N -r15242 -r15338 --- branches/5.2.x/core/kernel/db/db_connection.php (.../db_connection.php) (revision 15242) +++ branches/5.2.x/core/kernel/db/db_connection.php (.../db_connection.php) (revision 15338) @@ -1,6 +1,6 @@ _profileSQLs ) { - $first_cell = count($ret) == 1 && count(current($ret)) == 1 ? current(current($ret)) : null; + $current_element = current($ret); + $first_cell = count($ret) == 1 && count($current_element) == 1 ? current($current_element) : null; if ( strlen($first_cell) > 200 ) { $first_cell = substr($first_cell, 0, 50) . ' ...';