From e16cb07bf838b55f19ef602dd9bf62a7b1f25ccd Mon Sep 17 00:00:00 2001 From: kink Date: Tue, 17 Dec 2002 11:37:42 +0000 Subject: [PATCH] Change is_int to is_numeric, solves [ 655060 ] Image size for login.php and git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4276 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/display_messages.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/display_messages.php b/functions/display_messages.php index 580a62c7..d320a365 100644 --- a/functions/display_messages.php +++ b/functions/display_messages.php @@ -104,10 +104,10 @@ function logout_error( $errString, $errTitle = '' ) { } /* Display width and height like good little people */ $width_and_height = ''; - if (isset($org_logo_width) && is_int($org_logo_width) && $org_logo_width>0) { + if (isset($org_logo_width) && is_numeric($org_logo_width) && $org_logo_width>0) { $width_and_height = " WIDTH=\"$org_logo_width\""; } - if (isset($org_logo_height) && is_int($org_logo_height) && $org_logo_height>0) { + if (isset($org_logo_height) && is_numeric($org_logo_height) && $org_logo_height>0) { $width_and_height .= " HEIGHT=\"$org_logo_height\""; } -- 2.25.1