aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-11-26 21:21:40 -0800
committerfriendica <info@friendica.com>2013-11-26 21:21:40 -0800
commitfd57b63c1d8e840db6902c7f8e04f69de2c58a3b (patch)
tree7986a78e3dbf6a0d94116036b9dbd3c220d596ac /util
parent64b71a231b9f8e01490b78316205923c77c68c48 (diff)
downloadvolse-hubzilla-fd57b63c1d8e840db6902c7f8e04f69de2c58a3b.tar.gz
volse-hubzilla-fd57b63c1d8e840db6902c7f8e04f69de2c58a3b.tar.bz2
volse-hubzilla-fd57b63c1d8e840db6902c7f8e04f69de2c58a3b.zip
add terms and categories, fix a delivery loop (stops at one cycle but we don't need a post coming back that we just sent out).
Diffstat (limited to 'util')
-rw-r--r--util/wp/post_to_red/post_to_red.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/wp/post_to_red/post_to_red.php b/util/wp/post_to_red/post_to_red.php
index 55177238d..427e0f5e2 100644
--- a/util/wp/post_to_red/post_to_red.php
+++ b/util/wp/post_to_red/post_to_red.php
@@ -119,7 +119,7 @@ function post_to_red_delete_post($post_id) {
$post = get_post($post_id);
// if meta has been set
- if (get_post_meta($post_id, "post_to_red", true) == '1') {
+ if ((get_post_meta($post_id, "post_to_red", true) == '1') || (get_post_meta($post_id, "post_from_red", true) == '1')) {
$user_name = post_to_red_get_acct_name();
$password = post_to_red_get_password();