Bug tracker

This ticket has been moved to our new tracker. Open Ticket PHPBB3-239 now.

brackets in admin log (fix completed in vcs)

When deleting orphaned attachments the following text will be added as action to the admin log:
{Orphan Files deleted
ยป 2 f8b5832cb004f12167e00eb649c26e9a.jpg}

This is caused by line 1983 in includes/functions_admin.php:
Code: Select all
$log[$i]['action'] = (isset($user->lang[$row['log_operation']])) ? $user->lang[$row['log_operation']] : '{' . ucfirst(str_replace('_', ' ', $row['log_operation'])) . '}';

I tried simply removing the appended brackets and the log still seems to work fine.

Comments / History

Posted by Acyd Burn (Server Manager) on Mar 26th 2006, 13:19

If something is written in brackets it is an indication for us that the language key is missing. Smile the operation is always a lang key, but here it seems the call to add_log is wrong within the attachment panel. Smile

Linked ticket with changeset: r5738

Action performed by Anonymous (I am too lazy to register) on Mar 27th 2006, 21:42

Ticket details

Related SVN changesets