Commit 675429f 1 parent 240c7b0 commit 675429f Copy full SHA for 675429f
File tree 2 files changed +9
-2
lines changed
src/Badoo/LiveProfilerUI/Pages
2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 4
4
5
5
There are next changes:
6
6
7
+ ## 1.2.16
8
+
9
+ There are next changes:
10
+
11
+ - fixed /profiler/method-used-apps.json
12
+
7
13
## 1.2.15
8
14
9
15
There are next changes:
Original file line number Diff line number Diff line change @@ -175,7 +175,7 @@ public function getMethodUsedApps(string $method_name) : array
175
175
$ method_name = ltrim ($ method_name , '\\' );
176
176
try {
177
177
$ methods = $ this ->Method ->findByName ($ method_name , true );
178
- if (! $ methods ) {
178
+ if (empty ( $ methods) ) {
179
179
return [];
180
180
}
181
181
@@ -207,13 +207,14 @@ public function getMethodUsedApps(string $method_name) : array
207
207
$ result = [];
208
208
$ result ['app ' ] = $ snapshots [$ Row ->getSnapshotId ()]['app ' ];
209
209
$ result ['label ' ] = $ snapshots [$ Row ->getSnapshotId ()]['label ' ];
210
+ $ result ['date ' ] = $ snapshots [$ Row ->getSnapshotId ()]['date ' ];
210
211
211
212
$ uniq_key = $ result ['app ' ] . '_ ' . $ result ['label ' ];
212
213
if (!empty ($ results [$ uniq_key ])) {
213
214
continue ;
214
215
}
215
216
216
- $ values = $ Row ->getFormattedValues ();
217
+ $ values = $ Row ->getValues ();
217
218
foreach ($ fields as $ field ) {
218
219
$ result ['fields ' ][$ field ] = $ values [$ field ];
219
220
}
You can’t perform that action at this time.
0 commit comments