We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 79a92fb commit 1a73c89Copy full SHA for 1a73c89
plugins/MantisGraph/core/graph_api.php
@@ -883,14 +883,15 @@ function graph_date_format( $p_date ) {
883
# ----------------------------------------------------
884
function error_check( $bug_count, $title ) {
885
if( 0 == $bug_count ) {
886
- $t_graph_font = graph_get_font();
887
-
888
error_text( $title, plugin_lang_get( 'not_enough_data' ) );
889
}
890
891
892
function error_text( $title, $text ) {
893
if( OFF == plugin_config_get( 'eczlibrary' ) ) {
+
+ $t_graph_font = graph_get_font();
894
895
$graph = new CanvasGraph( 300, 380 );
896
897
$txt = new Text( $text, 150, 100 );
0 commit comments