Skip to content

Commit 9c06d19

Browse files
authored
Merge pull request #967 from tarasfrompir/patch-9
Warning: Undefined array key "dynids" and 'part_load'
2 parents 9f9b96e + cc7018d commit 9c06d19

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

admin.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
endMeasure('part2');
7878

7979

80-
if ($_GET['part_load']) {
80+
if (isset($_GET['part_load'])) {
8181

8282
$res=array();
8383
$res['TITLE']='';
@@ -125,7 +125,7 @@
125125
startMeasure('echoall');
126126

127127

128-
if (is_array($_GET['dynids'])) {
128+
if (isset($_GET['dynids']) and is_array($_GET['dynids'])) {
129129

130130
$data = array();
131131
foreach ($_GET['dynids'] as $data_id) {

0 commit comments

Comments
 (0)