[aur-dev] [PATCH] Bug fix, couldn't unnotify packages due to new behavior
Signed-off-by: Callan Barrett <wizzomafizzo@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
I hate to do a whole new patch for such a small thing but I can't be bothered submitted an amended patch of whatever I messed up. :/ -- Callan Barrett
Ok looks like I messed up 2 things in this function so here's an amended patch fixing both. Don't use the original patch in this thread. -- Callan Barrett
And another little related bug found, new amended patch... I'm sure I'm looking totally crazy with 50 consecutive emails on this ML. :D -- Callan Barrett
participants (1)
-
Callan Barrett