Change update.php shebang to support any in-path installation locatio…
Fix category count query for mysql
print "</div>";
- $result = db_query($this->link, "SELECT c.title, c.id,COUNT(f.*) AS count
+ $result = db_query($this->link, "SELECT c.title, c.id,COUNT(f.id) AS count
FROM ttrss_feed_categories AS c LEFT JOIN ttrss_feeds AS f ON
(f.cat_id = c.id)
WHERE c.owner_uid = ".$_SESSION["uid"]."
-#!/usr/bin/php
+#!/usr/bin/env php
<?php
set_include_path(get_include_path() . PATH_SEPARATOR .
dirname(__FILE__) . "/include");