--- mantisbt-1.2.19/core/lang_api.php 2015-01-26 00:00:30.000000000 +0100 +++ mantisbt-1.2.19/core/lang_api.php.patch 2016-04-30 13:41:10.536906702 +0200 @@ -23,6 +23,11 @@ * @link http://www.mantisbt.org */ +/** + * requires user_pref_api + */ +require_once( 'user_pref_api.php' ); + # Cache of localization strings in the language specified by the last # lang_load call $g_lang_strings = array();