Cleanup: removed all closing tags in php files.
[fa-stable.git] / sales / manage / customer_branches.php
index 374d2f57d74fc1512645f382fd976d5b2658b1b9..73bac5de7206b1768cf7be0d025373db78101047 100644 (file)
@@ -283,9 +283,9 @@ echo "<center>" . _("Select a customer: ") . "&nbsp;&nbsp;";
 echo customer_list('customer_id', null, false, true);
 echo "</center><br>";
 
-$num_branches = db_customer_has_branches($_POST['customer_id']);
+$num_branches = db_customer_has_branches(get_post('customer_id'));
 
-$sql = get_sql_for_customer_branches();
+$sql = get_sql_for_customer_branches(get_post('customer_id'));
 
 //------------------------------------------------------------------------------------------------
 if ($num_branches)
@@ -347,4 +347,3 @@ end_form();
 
 end_page(@$_REQUEST['popup']);
 
-?>