Originally Posted by
boozubay
FIXED not working for 1.5!
add customers.php change line 172
<form method="POST" enctype="multipart/form-data" action="' . $_SERVER['PHP_SELF'] . '">
<td class="formAreaTitle">' . CATEGORY_PERSONAL . '</td><input name="action2" type="hidden" value="add_complete" />
Also change line 8
$action = (isset($_GET['action2']) ? $_GET['action2']:false);
$error = false;
$processed = false;
$cInfo = array();
require_once('add_customers_backend.php');
//for single customer insert
if ($action2) {
$array = validate_customer();
$errors = $array['errors'];
$cInfo = $array['cInfo'];
if (count($errors) < 1) {
insert_customer();
$feedback[] = 'Customer inserted successfully';
}
}
//end of single customer insert
Works perfectly now!
Bookmarks