From 36563f72984e875ead7e9d31baefd9a7cd0b6ef6 Mon Sep 17 00:00:00 2001 From: Guillaume Est Une Palourde Date: Wed, 22 Jul 2020 11:47:39 -0400 Subject: [PATCH] Added a return value so query that sets the result and resets the action to OK don't crash --- bureau/class/m_apache.php | 1 + 1 file changed, 1 insertion(+) diff --git a/bureau/class/m_apache.php b/bureau/class/m_apache.php index 8371f039..2b2f6df6 100644 --- a/bureau/class/m_apache.php +++ b/bureau/class/m_apache.php @@ -114,6 +114,7 @@ class m_apache { $deleteme= $subdom["sub"].(($subdom["sub"])?".":"").$subdom["domaine"].".conf"; @unlink($confdir."/".$deleteme); $this->shouldreload=true; + return 0; }