Skip to content

Commit f5e5015

Browse files
LioraLiora
authored andcommitted
fix(zb_install): 增加QUERY_STRING兜底,防止未定义索引警告
1 parent 92430d5 commit f5e5015

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

zb_install/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
<body clas="install">
100100
<div class="setup">
101101
<?php
102-
$s = $_SERVER['QUERY_STRING'];
102+
$s = $_SERVER['QUERY_STRING'] ?? '';
103103
$array = [];
104104
parse_str($s, $array);
105105
unset($array['step']);

0 commit comments

Comments
 (0)