diff --git a/admin/xmldb/actions/main_view/main_view.class.php b/admin/xmldb/actions/main_view/main_view.class.php index b290d722cb8..921cb711b57 100644 --- a/admin/xmldb/actions/main_view/main_view.class.php +++ b/admin/xmldb/actions/main_view/main_view.class.php @@ -152,7 +152,7 @@ class main_view extends XMLDBAction { /// The save button if ($dbdir->path_exists && file_exists($key . '/install.xml') && - is_readable($key . '/install.xml') && + is_writeable($key . '/install.xml') && is_writeable($key) && !empty($dbdir->xml_loaded) && !empty($dbdir->xml_changed)) {