Selaa lähdekoodia

When saving an extension it would produce and error. To fix this adjust the SQL Where statement to change extension_enabled to enabled.

Mark Crane 13 vuotta sitten
vanhempi
commit
32bce1f0d3
2 muutettua tiedostoa jossa 1 lisäystä ja 8 poistoa
  1. 0 7
      includes/install/source.xml
  2. 1 1
      includes/lib_switch.php

+ 0 - 7
includes/install/source.xml

@@ -4885,13 +4885,6 @@
 		<md5>a20aca300a3c9c1cdd724971dba4626d</md5> 
 		<size>1913</size> 
 	</src> 
-	<src> 
-		<type>file</type> 
-		<path>/secure/v_config_cli.php</path> 
-		<last_mod>Tue, 29 Jun 2010 08:34:19 GMT</last_mod> 
-		<md5>6e1e710fe517b4a624d0fad75313d1bb</md5> 
-		<size>1109</size> 
-	</src> 
 	<src> 
 		<type>file</type> 
 		<path>/secure/v_mailto.php</path> 

+ 1 - 1
includes/lib_switch.php

@@ -3399,7 +3399,7 @@ if (!function_exists('sync_directory')) {
 		//get a list of extensions and the users assigned to them
 			$sql = "select * from v_extensions ";
 			$sql .= "where domain_uuid = '$domain_uuid' ";
-			$sql .= "and extension_enabled = 'true'; ";
+			$sql .= "and enabled = 'true'; ";
 			$prep_statement = $db->prepare(check_sql($sql));
 			$prep_statement->execute();
 			$x = 0;