Index: /trunk/MagicSoft/Mars/Changelog
===================================================================
--- /trunk/MagicSoft/Mars/Changelog	(revision 5195)
+++ /trunk/MagicSoft/Mars/Changelog	(revision 5196)
@@ -39,4 +39,7 @@
   * msignal/MExtractTimeAndCharge.cc
     - fixed small bug in the calculation of the low-gain AB flag.
+
+  * mcalib/MCalibrateData.cc
+    - fixed bug nr. ID 144
 
 
Index: /trunk/MagicSoft/Mars/mcalib/MCalibrateData.cc
===================================================================
--- /trunk/MagicSoft/Mars/mcalib/MCalibrateData.cc	(revision 5195)
+++ /trunk/MagicSoft/Mars/mcalib/MCalibrateData.cc	(revision 5196)
@@ -156,5 +156,5 @@
   fTitle = title ? title : "Task to calculate the number of photons in one event";
   
-  SetCalibrationMode();
+  SetCalibrationMode(calmode);
 
   SetNamePedADCContainer();
