From 2f26bbdf8d13bb7671adda7fe608ec80125efc19 Mon Sep 17 00:00:00 2001 From: nacin Date: Fri, 27 Apr 2012 18:57:08 +0000 Subject: [PATCH] Int cast a step variable. see #19786. props Caspie. git-svn-id: http://svn.automattic.com/wordpress/trunk@20618 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/install.php b/wp-admin/install.php index eaa8179c9..de683896e 100644 --- a/wp-admin/install.php +++ b/wp-admin/install.php @@ -41,7 +41,7 @@ require_once( dirname( __FILE__ ) . '/includes/upgrade.php' ); /** Load wpdb */ require_once(dirname(dirname(__FILE__)) . '/wp-includes/wp-db.php'); -$step = isset( $_GET['step'] ) ? $_GET['step'] : 0; +$step = isset( $_GET['step'] ) ? (int) $_GET['step'] : 0; /** * Display install header.