projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7dbf7fa
)
PHP8 warning
author
Alan
<alan@roojs.com>
Tue, 16 Jan 2024 07:54:12 +0000
(15:54 +0800)
committer
Alan
<alan@roojs.com>
Tue, 16 Jan 2024 07:54:12 +0000
(15:54 +0800)
RooGetTrait.php
patch
|
blob
|
history
diff --git
a/RooGetTrait.php
b/RooGetTrait.php
index
162ebce
..
4815b3c
100644
(file)
--- a/
RooGetTrait.php
+++ b/
RooGetTrait.php
@@
-256,6
+256,7
@@
trait Pman_Core_RooGetTrait {
if (!empty($_REQUEST['_requestMeta']) && count($ret)) {
$meta = $this->meta($x, $ret);
if ($meta) {
+ $extra = $extra ? $extra: array();
$extra['metaData'] = $meta;
}
}