~ubuntu-branches/debian/squeeze/spip/squeeze

« back to all changes in this revision

Viewing changes to ecrire/inc/syndic.php

  • Committer: Bazaar Package Importer
  • Author(s): Romain Beauxis
  • Date: 2010-09-18 15:08:53 UTC
  • mfrom: (11.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20100918150853-2g8yh71duum53p5s
Added patch to fix int overflow
in articles' published date.
Thanks to David Prévot for reporting.
Closes: #597026 

Show diffs side-by-side

added added

removed removed

Lines of Context:
148
148
                // (note: ca pourrait etre defini site par site, mais ca risque d'etre
149
149
                // plus lourd que vraiment utile)
150
150
                if ($GLOBALS['controler_dates_rss']) {
151
 
                        if ($la_date < time() - 365 * 24 * 3600
152
 
                        OR $la_date > time() + 48 * 3600)
 
151
                        if ($la_date > time() + 48 * 3600)
153
152
                                $la_date = time();
154
153
                }
155
154