[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Savannah-hackers-public] Patch for sr #106001
From: |
Sylvain Beucler |
Subject: |
Re: [Savannah-hackers-public] Patch for sr #106001 |
Date: |
Fri, 5 Dec 2008 22:26:50 +0100 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
Hi,
Changes don't go live automatically: a Savannah admin has to perform a
Savane upgrade manually.
Did you have a look at the 2 local installs solutions I mentioned, to
test directly before commiting? ('make -C tests/minimal_configs', or
the QEMU image) Let me know if there's a problem with any of them.
If you wish I can also prepare a SQL dump of the Savannah database to
test on your local computer with the same data (~380MB gzipped -
though I use the default base install most of the time for testing).
--
Sylvain
On Fri, Dec 05, 2008 at 09:31:31AM +0100, Federico Gimenez Nieto wrote:
> Hi,
>
> take a look at the attached patch for
> https://savannah.gnu.org/support/?106001.
> Let me know if this works for you to push it into the repository.
>
> One question, do the pushed commits go online inmediatly? If so i could add a
> comment to the bug reports to check the fixes.
>
> Cheers
> Federico
> diff --git a/frontend/php/include/trackers_run/index.php
> b/frontend/php/include/trackers_run/index.php
> index 9b97fab..074ed37 100644
> --- a/frontend/php/include/trackers_run/index.php
> +++ b/frontend/php/include/trackers_run/index.php
> @@ -417,6 +417,15 @@ switch ($func)
> }
> }
>
> + #copy the previous form values (taking into account dates) to
> redisplay them and initialize nocache to 0
> + foreach ($vfl as $fieldname => $value)
> + {
> + if(trackers_data_is_date_field($fieldname))
> + { list($value, $ok) = utils_date_to_unixtime($value); }
> + $$fieldname = $value;
> + }
> + $nocache=0;
> +
> include '../include/trackers_run/mod.php';
> break;
> }