Skip to content
Snippets Groups Projects
Commit fb74d3db authored by Ghislain Loas's avatar Ghislain Loas
Browse files

hotline : fix fatal error

parent a11763d2
Branches
Tags
3 merge requests!2806Master,!2776Master,!2773Hotline
Pipeline #4737 failed with stage
in 46 minutes and 39 seconds
......@@ -120,7 +120,7 @@ abstract class Class_Migration_DigitalResource_Abstract {
protected function renameBatches() {
if(!$batch = Class_Batch::findFirstBy(['type' => $this->_getOldBatchName()]))
return;
return $this;
$batch->setType($this->_getConfig()->getName())->save();
return $this;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment