Commit 04e66f2500271df45fc00b7220f4c91835391ec0
1 parent
6ec4203b
Exists in
master
and in
112 other branches
redmine 4596; tooltip : nb intervals in tt
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
php/classes/TimeTableMgr.php
... | ... | @@ -366,12 +366,12 @@ class TimeTableMgr extends AmdaObjectMgr |
366 | 366 | |
367 | 367 | //Save modifications |
368 | 368 | try { |
369 | - $result = $this->createObject($p, $folder); | |
369 | + $result = $this->createObject($p, $folder); | |
370 | 370 | if ($result['error']) |
371 | 371 | throw new Exception($result['error']); |
372 | 372 | if ($tmpFileExist) |
373 | 373 | unlink($ttFilePath.".tmp"); |
374 | - return array('id' => $p->id, 'info' => $result['nbIntervals'].' intervals' ); | |
374 | + return array('id' => $p->id, 'info' => $result['info']); | |
375 | 375 | } |
376 | 376 | catch (Exception $e) { |
377 | 377 | //Restore TT file |
... | ... |