diff --git a/web/modules/imaging/includes/post_install_script.php b/web/modules/imaging/includes/post_install_script.php index 0d9c87b504..5ca0cfcffc 100644 --- a/web/modules/imaging/includes/post_install_script.php +++ b/web/modules/imaging/includes/post_install_script.php @@ -23,14 +23,15 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -function get_post_install_scripts($f, $post_install_scripts, $post_installs) { +function get_post_install_scripts($f, $post_install_scripts, $post_installs) +{ $already_orders = array(); $elt = array("id_None" => _T("Not selected", "imaging")); - $elt_values = array("id_None"=> "None"); + $elt_values = array("id_None" => "None"); $h_pis = array(); foreach ($post_install_scripts as $lpis) { $h_pis[$lpis['imaging_uuid']] = $lpis; - $already_orders[$lpis['order']] = True; + $already_orders[$lpis['order']] = true; } $i = 0; foreach ($post_installs as $pis) { @@ -73,8 +74,9 @@ function get_post_install_scripts($f, $post_install_scripts, $post_installs) { print_exclusive_orders_js($a_pis_id); return $f; } -function print_exclusive_orders_js($a_pis_id) { -?> +function print_exclusive_orders_js($a_pis_id) +{ + ?>