From ef7b40d9c48d4c832e86fa3fe99b3c024639874f Mon Sep 17 00:00:00 2001 From: ozh Date: Thu, 20 Apr 2017 21:57:44 +0200 Subject: [PATCH] Better var name. $int for int, not $in, innit? :trollface: --- includes/functions-formatting.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/functions-formatting.php b/includes/functions-formatting.php index 7d38510..8471044 100644 --- a/includes/functions-formatting.php +++ b/includes/functions-formatting.php @@ -149,8 +149,8 @@ function yourls_deep_replace( $search, $subject ){ * Make sure an integer is a valid integer (PHP's intval() limits to too small numbers) * */ -function yourls_sanitize_int( $in ) { - return ( substr( preg_replace( '/[^0-9]/', '', strval( $in ) ), 0, 20 ) ); +function yourls_sanitize_int( $int ) { + return ( substr( preg_replace( '/[^0-9]/', '', strval( $int ) ), 0, 20 ) ); } /** -- 2.42.0