Additional extension system related fixes.
[fa-stable.git] / admin / db / maintenance_db.inc
index 18bcf3aad4aec88c7dcd71e6a3649d4379e1b672..3df97cda089e7c962687f8fa1a95e4733cbe337d 100644 (file)
@@ -134,7 +134,7 @@ function write_extensions($extensions=null, $company = null)
        $n = count($exts);
 
        $msg = "<?php\n\n";
-       if ($company != -1)
+       if ($company == -1)
                $msg .=
 "/* List of installed additional modules and plugins. If adding extensions at the beginning 
        of the list, make sure it's index is set to 0 (it has ' 0 => ');