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

@@ -7,7 +7,7 @@ class RandomImageTheme extends Themelet {
public function build_random_html(Image $image, $query=null) {
global $config;
$i_id = int_escape($image->id);
$i_id = (int)($image->id);
$h_view_link = make_link("post/view/$i_id", $query);
$h_thumb_link = $image->get_thumb_link();
$h_tip = html_escape($image->get_tooltip());