Vergleich ratethread.php - 1.4.0 - 1.4.4

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * $Id: ratethread.php 3809 2008-05-03 04:43:53Z Tikitiki $

 * $Id: ratethread.php 4081 2008-08-08 01:47:02Z Tikitiki $

 */

define("IN_MYBB", 1);

 */

define("IN_MYBB", 1);

 
define('THIS_SCRIPT', 'ratethread.php');


$templatelist = '';
require_once "./global.php";


$templatelist = '';
require_once "./global.php";

Zeile 66Zeile 67
$query = $db->simple_select("threadratings", "*", "{$whereclause} AND tid='{$tid}'");
$ratecheck = $db->fetch_array($query);


$query = $db->simple_select("threadratings", "*", "{$whereclause} AND tid='{$tid}'");
$ratecheck = $db->fetch_array($query);


if($ratecheck['rid'] || $mybb->cookies['mybbthreadrate'][$tid])

if($ratecheck['rid'] || $mybb->cookies['mybbratethread'][$tid])

{
error($lang->error_alreadyratedthread);
}

{
error($lang->error_alreadyratedthread);
}