X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=FS%2FFS%2FCron%2Fnotify.pm;h=5b0e186adf0ba8f9b2c14db4c20cbc8a9e324fad;hb=7b125e587a4d1ee0aca692e23ea7897f671855ae;hp=c67fcc19a4b4f73e0dbb2fd9bf732cb7cd4e1161;hpb=8d6784828998dc848eede30cef4a38bfd30fc3d1;p=freeside.git diff --git a/FS/FS/Cron/notify.pm b/FS/FS/Cron/notify.pm index c67fcc19a..5b0e186ad 100644 --- a/FS/FS/Cron/notify.pm +++ b/FS/FS/Cron/notify.pm @@ -62,7 +62,7 @@ END 0 = ( select count(*) from cust_pkg_option where cust_pkg.pkgnum = cust_pkg_option.pkgnum and cust_pkg_option.optionname = 'impending_recur_notification_sent' - and cust_pkg_option.optionvalue = 1 + and CAST( cust_pkg_option.optionvalue AS INTEGER ) = 1 ) END