mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 12:48:26 +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:
@@ -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>";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user