Browse Source

removing stroke function call from display_graph_by_resource -refs #5883

Yoselyn Castillo 11 năm trước cách đây
mục cha
commit
1b3edd5b79
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 3 3
      main/gradebook/lib/fe/flatviewtable.class.php

+ 3 - 3
main/gradebook/lib/fe/flatviewtable.class.php

@@ -319,9 +319,9 @@ class FlatViewTable extends SortableTable
                             //------------------
                             //echo 'not in cache';
                             $Cache->WriteToCache($graph_id,$DataSet->GetData(),$Test);
-                            ob_start();
-                            $Test->Stroke();
-                            ob_end_clean();
+                            //ob_start();
+                            //$Test->Stroke();
+                            //ob_end_clean();
                             $img_file = $Cache->GetHash($graph_id,$DataSet->GetData());
                         }
                         echo '<img src="'.api_get_path(WEB_ARCHIVE_PATH).$img_file.'" >';