minutils / feed-on-feeds

Released in 2003, saw the rise and fall of Google Reader, reached perfection in 2011
http://feedonfeeds.com/
GNU General Public License v2.0
14 stars 9 forks source link

Error when "mark all as read" with no message in the right screen #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. select a feed with no unread messages
2. no messages appear on the right
3. click on "mark all as read"

What is the expected output? What do you see instead?
It should do nothing but the following message appears

Warning: implode(): Bad arguments. in /srv/stefanmisch.de/htdocs/feeds/fof-
db.php on line 540
Cannot query database. Have you run install.php? MySQL says: You have an 
error in your SQL syntax; check the manual that corresponds to your MySQL 
server version for the right syntax to use near ')' at line 1

What version of the product are you using? On what operating system?
version 0.499

Please provide any additional information below.
The following patch on fof-db.php make the script skip the database update 
when the function gets an empty error as parameter

533a534
>       if($items){
543a545
>       }

Original issue reported on code.google.com by goo...@misel.org on 3 Mar 2007 at 2:08

GoogleCodeExporter commented 9 years ago
Fixed.  Thanks!

Original comment by stevemin...@gmail.com on 14 Mar 2007 at 3:45