mirror of
https://github.com/e107inc/e107.git
synced 2025-08-11 09:04:38 +02:00
Code speed optimization
This commit is contained in:
@@ -651,7 +651,7 @@ class rater
|
||||
}
|
||||
}
|
||||
$rate .= "<img src='".e_IMAGE_ABS."rate/boxend.png' alt='' style='height:8px; vertical-align:middle' />";
|
||||
if($ratearray[2] == ""){ $ratearray[2] = 0; }
|
||||
if(empty($ratearray[2])){ $ratearray[2] = 0; }
|
||||
$rate .= " ".$ratearray[1].".".$ratearray[2];
|
||||
if(!$userid){
|
||||
$rate .= " - ".$ratearray[0]." ";
|
||||
|
Reference in New Issue
Block a user