Vergleich ratethread.php - 1.6.6 - 1.6.15

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://mybb.com
* License: http://mybb.com/about/license
*

 * Website: http://mybb.com
* License: http://mybb.com/about/license
*

 * $Id: ratethread.php 5541 2011-08-08 12:20:04Z PirataNervo $

 * $Id$

 */

define("IN_MYBB", 1);
define('THIS_SCRIPT', 'ratethread.php');


 */

define("IN_MYBB", 1);
define('THIS_SCRIPT', 'ratethread.php');


$templatelist = '';

$templatelist = 'forumdisplay_password_wrongpass,forumdisplay_password';

require_once "./global.php";

// Verify incoming POST request

require_once "./global.php";

// Verify incoming POST request

Zeile 29Zeile 29
}

$forumpermissions = forum_permissions($thread['fid']);

}

$forumpermissions = forum_permissions($thread['fid']);

if($forumpermissions['canview'] == 0 || $forumpermissions['canratethreads'] == 0 || $mybb->usergroup['canratethreads'] == 0)

if($forumpermissions['canview'] == 0 || $forumpermissions['canratethreads'] == 0 || $mybb->usergroup['canratethreads'] == 0 || $mybb->settings['allowthreadratings'] == 0 || (isset($forumpermissions['canonlyviewownthreads']) && $forumpermissions['canonlyviewownthreads'] != 0 && $thread['uid'] != $mybb->user['uid']))

{
error_no_permission();
}

{
error_no_permission();
}