pkgsubmit.php: Refactor source processing to fix PHP notice
commit857de725d1c87da005b4ab8e9a88222fd19aab4b
authorcanyonknight <canyonknight@gmail.com>
Sat, 14 Jul 2012 18:20:11 +0000 (14 14:20 -0400)
committerLukas Fleischer <archlinux@cryptocrack.de>
Sat, 14 Jul 2012 20:19:52 +0000 (14 22:19 +0200)
treec4300feaf9eea1318276ddada8a975854c2c73c1
parent1fd559151b201556ae8d2b71de8abc8641dbf953
pkgsubmit.php: Refactor source processing to fix PHP notice

A foreach() being run without checking to see if the uploaded PKGBUILD had any
sources now no longer causes an undefined index notice when there are no
sources.

Signed-off-by: canyonknight <canyonknight@gmail.com>
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
web/html/pkgsubmit.php