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-15 18:40:06 -04:00
parent a2b94b31dd
commit a82f9382d1
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_escape($image->id);
$i_score = int_escape($image->numeric_score);
$i_image_id = (int)($image->id);
$i_score = (int)($image->numeric_score);
$html = "
Current Score: $i_score