Vergleich admin/modules/config/plugins.php - 1.8.27 - 1.8.36

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 219Zeile 219
			}
$plugininfo = $infofunc();
$plugininfo['guid'] = isset($plugininfo['guid']) ? trim($plugininfo['guid']) : null;

			}
$plugininfo = $infofunc();
$plugininfo['guid'] = isset($plugininfo['guid']) ? trim($plugininfo['guid']) : null;

			$plugininfo['codename'] = trim($plugininfo['codename']);

			$plugininfo['codename'] = isset($plugininfo['codename']) ? trim($plugininfo['codename']) : null;


if($plugininfo['codename'] != "")
{


if($plugininfo['codename'] != "")
{

Zeile 306Zeile 306
		if(version_compare($names[$plugin['attributes'][$compare_by]]['version'], $plugin['version']['value'], "<"))
{
$plugin['download_url']['value'] = htmlspecialchars_uni($plugin['download_url']['value']);

		if(version_compare($names[$plugin['attributes'][$compare_by]]['version'], $plugin['version']['value'], "<"))
{
$plugin['download_url']['value'] = htmlspecialchars_uni($plugin['download_url']['value']);

			$plugin['vulnerable']['value'] = htmlspecialchars_uni($plugin['vulnerable']['value']);

 
			$plugin['version']['value'] = htmlspecialchars_uni($plugin['version']['value']);

			$plugin['version']['value'] = htmlspecialchars_uni($plugin['version']['value']);

 

if(isset($plugin['vulnerable']['value']))
{
$plugin['vulnerable']['value'] = htmlspecialchars_uni($plugin['vulnerable']['value']);
}


if($is_vulnerable)
{


if($is_vulnerable)
{

Zeile 371Zeile 375
// Activates or deactivates a specific plugin
if($mybb->input['action'] == "activate" || $mybb->input['action'] == "deactivate")
{

// Activates or deactivates a specific plugin
if($mybb->input['action'] == "activate" || $mybb->input['action'] == "deactivate")
{

	if(!verify_post_check($mybb->input['my_post_key']))

	if(!verify_post_check($mybb->get_input('my_post_key')))

	{
flash_message($lang->invalid_post_verify_key2, 'error');
admin_redirect("index.php?module=config-plugins");

	{
flash_message($lang->invalid_post_verify_key2, 'error');
admin_redirect("index.php?module=config-plugins");