summaryrefslogtreecommitdiff
path: root/actions/postnotice.php
diff options
context:
space:
mode:
authorCiaranG <ciaran@ciarang.com>2009-03-08 16:16:10 +0000
committerCiaranG <ciaran@ciarang.com>2009-03-08 16:16:10 +0000
commit2133d5a4e7fc694b097fe65282e557d99ee109ad (patch)
tree210454e89a627b81bf926c156dd2a9f9c0ba0cf7 /actions/postnotice.php
parenta5f11248305f1ec66eee215e9e12ba010ed97691 (diff)
PostgreSQL - some more fixes to make queries compatible with both databases. (submitted by oxygene)
Diffstat (limited to 'actions/postnotice.php')
-rw-r--r--actions/postnotice.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/postnotice.php b/actions/postnotice.php
index 0b4735296..c32d8ca94 100644
--- a/actions/postnotice.php
+++ b/actions/postnotice.php
@@ -79,7 +79,7 @@ class PostnoticeAction extends Action
}
$notice = Notice::staticGet('uri', $notice_uri);
if (!$notice) {
- $notice = Notice::saveNew($remote_profile->id, $content, 'omb', false, 0, $notice_uri);
+ $notice = Notice::saveNew($remote_profile->id, $content, 'omb', false, null, $notice_uri);
if (is_string($notice)) {
common_server_serror($notice, 500);
return false;