1
0
mirror of https://github.com/e107inc/e107.git synced 2025-05-05 19:55:21 +02:00

Update pm_shortcodes.php

missing . from line 588 where $extra is being checked. Had the effect of presenting an incorrect link in the outbox.
This commit is contained in:
pricey1981 2016-12-30 16:02:44 +00:00 committed by GitHub
parent 274b822bf3
commit 6d88fa3f29

View File

@ -585,7 +585,7 @@ if(!class_exists('plugin_pm_pm_shortcodes'))
} }
$action = $extra == 'outbox' ? 'delete-out' : 'delete-in'; $action = $extra == '.outbox' ? 'delete-out' : 'delete-in';
return "<a class='btn btn-default' title='".LAN_DELETE."' href='".$this->url('action/'.$action, 'id='.$this->var['pm_id'])."'>".PM_DELETE_ICON."</a>"; return "<a class='btn btn-default' title='".LAN_DELETE."' href='".$this->url('action/'.$action, 'id='.$this->var['pm_id'])."'>".PM_DELETE_ICON."</a>";
} }