From 0470d557d061eb2641b10635bc7f38c7e3d94f2c Mon Sep 17 00:00:00 2001 From: wangyidong Date: Wed, 11 Jul 2018 14:10:20 +0800 Subject: [PATCH 1/2] * adjust for kanban. --- module/project/js/kanban.js | 1 - 1 file changed, 1 deletion(-) diff --git a/module/project/js/kanban.js b/module/project/js/kanban.js index 01057745c7..e12431b191 100644 --- a/module/project/js/kanban.js +++ b/module/project/js/kanban.js @@ -100,7 +100,6 @@ $(function() shown: function(){$('.modal-iframe').addClass('with-titlebar').data('cancel-reload', true)}, hidden: refresh }); - return true; } return false; }; From 505932a672f13381564be293c2733350801b551d Mon Sep 17 00:00:00 2001 From: wangyidong Date: Wed, 11 Jul 2018 14:30:51 +0800 Subject: [PATCH 2/2] * fix for session error. --- framework/helper.class.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/framework/helper.class.php b/framework/helper.class.php index e54e60d459..af58e010ca 100644 --- a/framework/helper.class.php +++ b/framework/helper.class.php @@ -162,3 +162,18 @@ function formatTime($time, $format = '') if($format) return date($format, strtotime($time)); return trim($time); } + +/** + * Fix for session error. + * + * @param int $class + * @access protected + * @return void + */ +function __autoload($class) +{ + if(!class_exists($class)) + { + if($class == 'post_max_size' or $class == 'max_input_vars') eval('class ' . $class . ' {};'); + } +}