lubomirkonik/php-project-sem4 — pull request #5 by daniel-bene (2014-03-14 11:30:29+00:00)
Title: Fixed order - product deletion conflict

Fixed by adding placeholder product, upon deletion of a real product its
place in orders is replaced by this placeholder. Please note additions
to config.php - two new constants PLACEHOLDER_CAT_ID and
PLACEHOLDER_PROD_ID. In my test database I created a placeholder product
with pr_id 0 and placeholder category with the same id. The placeholder
category is only relevant because I don't want the placeholder product
blocking delete operation on real categories.

Also improved category deletion error message.