[aur-dev] [PATCH] Bug fix, couldn't unnotify packages due to new behavior

Callan Barrett wizzomafizzo at gmail.com
Sat Oct 4 18:04:33 EDT 2008


Signed-off-by: Callan Barrett <wizzomafizzo at gmail.com>
---
 web/lib/pkgfuncs.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/web/lib/pkgfuncs.inc b/web/lib/pkgfuncs.inc
index 27b623a..9648905 100644
--- a/web/lib/pkgfuncs.inc
+++ b/web/lib/pkgfuncs.inc
@@ -1347,7 +1347,7 @@ function pkg_notify ($atype, $ids) {
 	}
 	
 	foreach ($ids as $pid) {
-		if (!is_numeric($ids)) {
+		if (!is_numeric($pid)) {
 			return __("Couldn't add to notification list.");
 		}
 	}
-- 
1.6.0.2




More information about the aur-dev mailing list