Added a return value so query that sets the result and resets the action to OK don't crash

This commit is contained in:
Guillaume Est Une Palourde 2020-07-22 11:47:39 -04:00 committed by Camille Lafitte
parent e028b15e7b
commit 36563f7298
1 changed files with 1 additions and 0 deletions

View File

@ -114,6 +114,7 @@ class m_apache {
$deleteme= $subdom["sub"].(($subdom["sub"])?".":"").$subdom["domaine"].".conf";
@unlink($confdir."/".$deleteme);
$this->shouldreload=true;
return 0;
}