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 . ' {};'); + } +} 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; };