File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,10 @@ abstract class AppShell extends Shell
3636
3737 public function initialize ()
3838 {
39+ if (PHP_VERSION_ID < 80000 ) {
40+ require_once ROOT . DS . APP_DIR . DS . 'Lib ' . DS . 'polyfill.php ' ;
41+ }
42+
3943 $ configLoad = $ this ->Tasks ->load ('ConfigLoad ' );
4044 $ configLoad ->execute ();
4145 if (Configure::read ('Plugin.Benchmarking_enable ' )) {
Original file line number Diff line number Diff line change @@ -1562,7 +1562,7 @@ public function search($continue = false)
15621562 }
15631563
15641564 $ this ->paginate ['conditions ' ] = $ params ['conditions ' ];
1565- $ index = $ this ->MispAttribute ->query ("SHOW index from attributes where Key_name = 'deleted' " );
1565+ $ index = $ this ->Attribute ->query ("SHOW index from attributes where Key_name = 'deleted' " );
15661566 if (!empty ($ index )) {
15671567 $ this ->paginate ['ignoreIndexHint ' ] = 'deleted ' ;
15681568 }
You can’t perform that action at this time.
0 commit comments