On Wed, Oct 08, 2008 at 03:19:15AM +0800, Callan Barrett wrote:
> Signed-off-by: Callan Barrett <[EMAIL PROTECTED]>
> ---
>  web/html/pkgsubmit.php |    9 +++++++--
>  1 files changed, 7 insertions(+), 2 deletions(-)
> 
> diff --git a/web/html/pkgsubmit.php b/web/html/pkgsubmit.php
> index 78d6e50..3290293 100644
> --- a/web/html/pkgsubmit.php
> +++ b/web/html/pkgsubmit.php
> @@ -370,6 +371,10 @@ if ($_COOKIE["AURSID"]):
>                                       $q .= $packageID . ", '" . 
> mysql_real_escape_string($src) . "')";
>                                       db_query($q, $dbh);
>                               }
> +                             
> +                             # Turn on package notification
> +                             $q = 'INSERT INTO CommentNotify (PkgID, UserID) 
> VALUES (' . $packageID . ', ' . $uid . ')';
> +                             db_query($q, $dbh);
>  
>                               header('Location: packages.php?ID=' . 
> $packageID);

I'm thinking that notifying should really be calling the notify function
eh?

Reply via email to