Undoing this commit: Removing unnecessary call to int_escape(). Simply cast to int inline, saving function call overhead.

This commit is contained in:
green-ponies (jgen)
2012-04-18 00:54:18 -04:00
parent f8832a5024
commit dd88127c30
46 changed files with 136 additions and 136 deletions

View File

@@ -3,8 +3,8 @@
class NumericScoreTheme extends Themelet {
public function get_voter_html(Image $image) {
global $user;
$i_image_id = (int)($image->id);
$i_score = (int)($image->numeric_score);
$i_image_id = int_escape($image->id);
$i_score = int_escape($image->numeric_score);
$html = "
Current Score: $i_score