From 8cfaee76e365d0e46fcd144f745e12f1d43168a2 Mon Sep 17 00:00:00 2001 From: alvara-steven Date: Thu, 24 Nov 2016 08:50:11 +0100 Subject: [PATCH] Mantis 1.3.x compatibility --- Scrum/Scrum.php | 2 +- Scrum/pages/board.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Scrum/Scrum.php b/Scrum/Scrum.php index 9ec263c..5be5b55 100644 --- a/Scrum/Scrum.php +++ b/Scrum/Scrum.php @@ -21,7 +21,7 @@ public function register() $this->version = "0.3"; $this->requires = array( - "MantisCore" => "1.2.6", + "MantisCore" => "1.2.6, <1.3.99", ); $this->uses = array( "Source" => "0.16", diff --git a/Scrum/pages/board.php b/Scrum/pages/board.php index e67cb99..7ac7aae 100644 --- a/Scrum/pages/board.php +++ b/Scrum/pages/board.php @@ -3,7 +3,7 @@ # Copyright (c) 2011 John Reese # Licensed under the MIT license -require_once( 'icon_api.php' ); +require_api( 'icon_api.php' ); $current_project = helper_get_current_project(); $project_ids = current_user_get_all_accessible_subprojects( $current_project ); @@ -246,7 +246,7 @@