回答編集履歴
1
コードを修正
test
CHANGED
@@ -6,17 +6,17 @@
|
|
6
6
|
|
7
7
|
if($key===false){
|
8
8
|
|
9
|
-
$
|
9
|
+
$a->count = 0;
|
10
10
|
|
11
11
|
}
|
12
12
|
|
13
|
-
else{$
|
13
|
+
else{$a->count = $B[$key]->count;
|
14
14
|
|
15
15
|
}
|
16
16
|
|
17
17
|
|
18
18
|
|
19
|
-
//$
|
19
|
+
//$a->count = $key ? $B[$key]->count : 0;
|
20
20
|
|
21
21
|
|
22
22
|
|