
-------------------------------
PgMarket 1.2.1 (March 25, 2001)
        BUG FIX RELEASE
-------------------------------

Corrected the version 1.2.0 release date in the README :)

Mail was not sent to the shop admin if the root password was changed
Affected files:
admin/change_password.php , line 93
users/change_password.php , line 94
global $SESSION; --> global $SESSION, $CFG;

chmod 777 products
Be aware of the permissions of the "products" directory
on your final installation...
777 should be avoided...

Solved the following duplicates in the locale/??/global.inc.php files:
	$Add_Product
	$Change_Password
	$Change_Settings
	$Credit_Card
	$has_been_deleted_male_singular
	$Items
	$Total_weight
Now DOCS/find-dups-in-locales.sh allows to detect such duplicates
and hence to reduce the risk of such errors: try with
cd locale/it (or cd locale/us)
sh ../../DOCS/find-dups-in-locales.sh

admin/products.php : added a missing piece of code, without which no brands
where available in the product form after an unsuccessful form submission
(i.e. after the submission of values with errors).

DUMPS/pgmarket.start.dump : in the "users" table, "authdata"
and "acceptadvert" are no more defined as NOT NULL.

users/contact.php : now in the mail body sent it is specified that
the Zip Code is a Zip Code (or a CAP, for Italy).

users/contact.php : corrected the comment at line 11.

Modified and added some "ereg_replace"s in the import code
to allow " and ' inside names and descriptions;
affected files:
admin/categories.php
admin/products.php
admin/users.php

Added $SESSION["goback"] in admin/users.php

The search engines have to search also into extended_description
not only into description ...
affected file: lib/dblib.inc.php

application-us.inc.php line 122:
formatted_price --> formatted_price_text
Thanks to Jeremy Rodwell <jeremy.rodwell@websites.uk.com>
and to Nicholas Hume <nick@nettrip.org>
for their bug reports.

lib/pgmarket.inc.php , validate_phone() : added
$phone = ereg_replace ("\-", "", $phone);
as "-" is often used in the USA to separate a 3 digit prefix
from a 4 digit number following that.
locale/??/global.inc.php :
more verbose error message for invalide Phone, Fax, and Mobile Phone inputs,
to enumerate allowed characters.
Thanks to Nicholas Hume <nick@nettrip.org>
for his bug report.

