summaryrefslogtreecommitdiffstats
path: root/po/Makefile
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2011-09-02 17:17:01 +0200
committerLukas Fleischer <archlinux@cryptocrack.de>2011-09-05 16:47:59 +0200
commit1b63994b8d1ccd4d8cb4b065fde8c8b798d7781d (patch)
tree30a0e38e7736da43efd3897b85d76de7f1723271 /po/Makefile
parenta00e5b040a42349e40a6d22cf822042ccf651be4 (diff)
downloadaurweb-1b63994b8d1ccd4d8cb4b065fde8c8b798d7781d.tar.xz
web/html/pkgsubmit.php: Deal with unset category ID
Do not move the package to the incoming package directory and fail to create proper database entries if some AUR upload helper doesn't provide a category. We got several failing constraints here, such as: Cannot add or update a child row: a foreign key constraint fails (`AUR`.`Packages`, CONSTRAINT `Packages_ibfk_1` FOREIGN KEY (`CategoryID`) REFERENCES `PackageCategories` (`ID`) ON DELETE NO ACTION) Instead, default to "1" (which is "none", or "keep category" for existing packages) if no category is supplied. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'po/Makefile')
0 files changed, 0 insertions, 0 deletions