Skip to content

Commit fcef102

Browse files
исправлены ошибки работы на php 8.4
1 parent e5bce82 commit fcef102

8 files changed

Lines changed: 13 additions & 13 deletions

File tree

Gruntfile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ module.exports = function(grunt) {
123123
*
124124
* @category module
125125
* @version ${gc.versions}
126-
* @internal @properties &folders=Директории для загрузки;text;food,food-individual &autodelete=Автоудаление;list;true,false;true &autodelete_year=Удалять файлы старше лет;list;1,2,3,4,5;2
126+
* @internal @properties &folders=Директории для загрузки;text;food &autodelete=Автоудаление;list;true,false;true &autodelete_year=Удалять файлы старше лет;list;1,2,3,4,5;2
127127
* @internal @modx_category Manager and Admin
128128
* @homepage https://github.com/ProjectSoft-STUDIONIONS/food-module#readme
129129
* @license https://github.com/ProjectSoft-STUDIONIONS/food-module/blob/master/LICENSE MIT License (MIT)
@@ -139,7 +139,7 @@ module.exports = function(grunt) {
139139
*
140140
* @category module
141141
* @version ${gc.versions}
142-
* @internal @properties &folders=Директории для загрузки;text;food,food-individual &autodelete=Автоудаление;list;true,false;true &autodelete_year=Удалять файлы старше лет;list;1,2,3,4,5;2
142+
* @internal @properties &folders=Директории для загрузки;text;food &autodelete=Автоудаление;list;true,false;true &autodelete_year=Удалять файлы старше лет;list;1,2,3,4,5;2
143143
* @internal @modx_category Manager and Admin
144144
* @homepage https://github.com/ProjectSoft-STUDIONIONS/food-module#readme
145145
* @license https://github.com/ProjectSoft-STUDIONIONS/food-module/blob/master/LICENSE MIT License (MIT)

assets/modules/food-module/js/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* bower_components/datatables.net-select/js/dataTables.select.js
1212
* bower_components/datatables.net-bs/js/dataTables.bootstrap.js
1313
*
14-
* Last Update: 2025-11-25 22:40:49 GMT+0400
14+
* Last Update: 2025-12-04 14:23:39 GMT+0400
1515
*/
1616
/*!
1717
* JavaScript Cookie v2.2.1

assets/modules/food-module/js/app.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/modules/food-module/js/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Актуально для сайтов школ России
55
* Автор: Чернышёв Андрей aka ProjectSoft <projectsoft2009@yandex.ru>
66
* GitHub: https://github.com/ProjectSoft-STUDIONIONS/food-module#readme
7-
* Last Update: 2025-11-25 22:40:49 GMT+0400
7+
* Last Update: 2025-12-04 14:23:39 GMT+0400
88
*/
99
window.DT_table = false;
1010
(function (factory) {

assets/modules/food-module/js/main.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/modules/food-module/module.food-module.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ function getModule() {
8181
$newfile = $_REQUEST['newfile'] ?? '';
8282

8383
// Директория по умолчанию ()
84-
$dir = (string) $_REQUEST['path'];
84+
$dir = $_REQUEST['path'] ?? '';
8585

8686
// Корневая директория
8787
$startpath = MODX_BASE_PATH;

0 commit comments

Comments
 (0)