cvs: pearweb /include pear-election.php

From: Date: Fri, 10 Nov 2006 04:17:46 +0000
Subject: cvs: pearweb /include pear-election.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-core+get-5165@lists.php.net to get a copy of this message
cellog Fri Nov 10 04:17:46 2006 UTC Modified files: /pearweb/include pear-election.php Log: fix errant . that ruins voteend updating http://cvs.php.net/viewvc.cgi/pearweb/include/pear-election.php?r1=1.3&r2=1.4&diff_format=u Index: pearweb/include/pear-election.php diff -u pearweb/include/pear-election.php:1.3 pearweb/include/pear-election.php:1.4 --- pearweb/include/pear-election.php:1.3 Fri Nov 10 03:46:27 2006 +++ pearweb/include/pear-election.php Fri Nov 10 04:17:46 2006 @@ -217,7 +217,7 @@ $startdate = date('Y-m-d', strtotime($_POST['year'] . '-' . $_POST['month'] . '-' . $_POST['day'])); $enddate = date('Y-m-d', - strtotime($startdate . '. +' . $_POST['length'] . ' days')); + strtotime($startdate . ' +' . $_POST['length'] . ' days')); $this->dbh->query(' INSERT INTO elections (purpose, detail, votestart, voteend, creator, createdate, minimum_choices,

« previous php.pear.core (#5165) next »