<pre style='margin:0'>
Clemens Lang (neverpanic) pushed a commit to branch master
in repository macports-www.
</pre>
<p><a href="https://github.com/macports/macports-www/commit/14945d510423633ce9d41c6d5fb8181bb9c1066a">https://github.com/macports/macports-www/commit/14945d510423633ce9d41c6d5fb8181bb9c1066a</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 14945d5 Fix query problem with PostgreSQL
</span>14945d5 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 14945d510423633ce9d41c6d5fb8181bb9c1066a
</span>Author: Clemens Lang <neverpanic@gmail.com>
AuthorDate: Thu Dec 22 18:48:58 2016 +0100
<span style='display:block; white-space:pre;color:#404040;'> Fix query problem with PostgreSQL
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> pg_query(): Query failed: ERROR: argument of WHERE must be type
</span><span style='display:block; white-space:pre;color:#404040;'> boolean, not type integer\nLINE 1: ...h, version, description FROM
</span><span style='display:block; white-space:pre;color:#404040;'> portfiles AS p WHERE 0 ORDER BY...\n
</span>---
ports.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/ports.php b/ports.php
</span><span style='display:block; white-space:pre;color:#808080;'>index 1c90ae9..06cb502 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/ports.php
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/ports.php
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -123,7 +123,7 @@
</span> $criteria = '';
break;
default:
<span style='display:block; white-space:pre;background:#ffe0e0;'>- $criteria = '0';
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ $criteria = 'FALSE';
</span> break;
}
$where = ($criteria == '' ? '' : "WHERE $criteria");
</pre><pre style='margin:0'>
</pre>