cvs: pearweb /include pear-election.php

From: Date: Sat, 11 Nov 2006 01:35:00 +0000
Subject: cvs: pearweb /include pear-election.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-core+get-5173@lists.php.net to get a copy of this message
cellog Sat Nov 11 01:35:00 2006 UTC Modified files: /pearweb/include pear-election.php Log: try again - fix the setting of end date http://cvs.php.net/viewvc.cgi/pearweb/include/pear-election.php?r1=1.5&r2=1.6&diff_format=u Index: pearweb/include/pear-election.php diff -u pearweb/include/pear-election.php:1.5 pearweb/include/pear-election.php:1.6 --- pearweb/include/pear-election.php:1.5 Sat Nov 11 00:52:19 2006 +++ pearweb/include/pear-election.php Sat Nov 11 01:35:00 2006 @@ -255,7 +255,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(' UPDATE elections SET

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