Zeile 6 | Zeile 6 |
---|
* Website: http://mybb.com * License: http://mybb.com/about/license *
|
* Website: http://mybb.com * License: http://mybb.com/about/license *
|
* $Id: ratethread.php 5380 2011-02-21 12:04:43Z Tomm $
| * $Id: ratethread.php 5716 2011-12-08 23:53:02Z Tomm $
|
*/
define("IN_MYBB", 1);
| */
define("IN_MYBB", 1);
|
Zeile 29 | Zeile 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)
|
{ error_no_permission(); }
| { error_no_permission(); }
|
Zeile 40 | Zeile 40 |
---|
if(!$forum) { error($lang->error_invalidforum);
|
if(!$forum) { error($lang->error_invalidforum);
|
| }
// Get forum info $forum = get_forum($fid); if(!$forum) { error($lang->error_invalidforum); } else { // Is our forum closed? if($forum['open'] == 0) { // Doesn't look like it is error($lang->error_closedinvalidforum); }
|
}
// Check if this forum is password protected and we have a valid password
| }
// Check if this forum is password protected and we have a valid password
|