Fixed promotion issue

This commit is contained in:
Mike
2009-07-10 09:47:23 -07:00
parent a0c129b8a0
commit be9fc66a91

View File

@@ -1358,7 +1358,7 @@ class ApiController(RedditController):
form.redirect('/promote/edit_promo/%s' % to36(l._id))
else:
l = Link._submit(title, url, c.user, sr, ip, False)
l = Link._submit(title, url, c.user, sr, ip)
if expire == 'expirein' and timelimitlength and timelimittype:
promote_until = timefromnow("%d %s" % (timelimitlength,