Pārlūkot izejas kodu

Merge pull request #67 from ycastillo/5883

removing stroke function call from display_graph_by_resource -refs #5883
Yannick Warnier 11 gadi atpakaļ
vecāks
revīzija
427e94134d
1 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  1. 3 3
      main/gradebook/lib/fe/flatviewtable.class.php

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

@@ -321,9 +321,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.'" >';