Changeset 1538

Show
Ignore:
Timestamp:
08/13/06 01:49:24 (2 years ago)
Author:
mbonetti
Message:

fix for #435. Kudos to Jerome for pointing this out to me this morning, and
to the reporter for confirming it is a bug, after all.

We better make sure this doesn't affect SQLite, though.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/gregarius/util.php

    r1525 r1538  
    520520            $sql = "insert into ".getTable("channels") 
    521521                   ." (title, url, siteurl, parent, descr, dateadded, icon, position, mode, daterefreshed)" 
    522                    ." values ('$title', '$urlDB', '$siteurl', $folderid, '$descr', now(), '$icon', $np, $mode, 1)"; 
     522                   ." values ('$title', '$urlDB', '$siteurl', $folderid, '$descr', now(), '$icon', $np, $mode, '0000-00-00 00:00:00')"; 
    523523 
    524524            rss_query($sql);