projects
/
fa-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b2b7e20
)
Rerun. Attach documents: error message when attaching document on some php8 versions...
author
Joe
<joe.hunt.consulting@gmail.com>
Sat, 25 Mar 2023 21:50:30 +0000
(22:50 +0100)
committer
Joe
<joe.hunt.consulting@gmail.com>
Sat, 25 Mar 2023 21:50:30 +0000
(22:50 +0100)
includes/ui/simple_crud_class.inc
patch
|
blob
|
history
diff --git
a/includes/ui/simple_crud_class.inc
b/includes/ui/simple_crud_class.inc
index f276c3b5a9e36f614cb0c0654c37f6129559d687..9ab24aa5ddb4dcc3204017e16b7fb44c82ff1298 100644
(file)
--- a/
includes/ui/simple_crud_class.inc
+++ b/
includes/ui/simple_crud_class.inc
@@
-251,8
+251,8
@@
class simple_crud {
$name = $fmt;
$fmt = array();
}
$name = $fmt;
$fmt = array();
}
- if
is_string($fmt
) {
- $fmt = array('fmt' => $fmt)
+ if
(is_string($fmt)
) {
+ $fmt = array('fmt' => $fmt)
;
}
$post = isset($fmt['post']) ? $fmt['post'] : $name;
$fld = isset($fmt['fld']) ? $fmt['fld'] : $name;
}
$post = isset($fmt['post']) ? $fmt['post'] : $name;
$fld = isset($fmt['fld']) ? $fmt['fld'] : $name;
@@
-273,8
+273,8
@@
class simple_crud {
$name = $fmt;
$fmt = array();
}
$name = $fmt;
$fmt = array();
}
- if
is_string($fmt
) {
- $fmt = array('fmt' => $fmt)
+ if
(is_string($fmt)
) {
+ $fmt = array('fmt' => $fmt)
;
}
$post = isset($fmt['post']) ? $fmt['post'] : $name;
$fld = isset($fmt['fld']) ? $fmt['fld'] : $name;
}
$post = isset($fmt['post']) ? $fmt['post'] : $name;
$fld = isset($fmt['fld']) ? $fmt['fld'] : $name;