From 084ca3f4a16084068a0ab04af651770142324f3a Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 12 Feb 2015 18:49:42 -0800 Subject: typo --- mod/item.php | 1 + mod/network.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'mod') diff --git a/mod/item.php b/mod/item.php index 99d28400b..120b5c66f 100644 --- a/mod/item.php +++ b/mod/item.php @@ -529,6 +529,7 @@ function item_post(&$a) { $body = preg_replace_callback('/\[\$b64url(.*?)\[\/(url)\]/ism','red_unescape_codeblock',$body); $body = preg_replace_callback('/\[\$b64code(.*?)\[\/(code)\]/ism','red_unescape_codeblock',$body); + // fix any img tags that should be zmg $body = preg_replace_callback('/\[img(.*?)\](.*?)\[\/img\]/ism','red_zrlify_img_callback',$body); diff --git a/mod/network.php b/mod/network.php index 236d4c5e0..944c3c1d1 100644 --- a/mod/network.php +++ b/mod/network.php @@ -346,7 +346,7 @@ function network_content(&$a, $update = 0, $load = false) { else $page_mode = 'client'; - $simple_update = (($update) ? " and item.unseen = 1 " : ''); + $simple_update = (($update) ? " and item_unseen = 1 " : ''); // This fixes a very subtle bug so I'd better explain it. You wake up in the morning or return after a day // or three and look at your matrix page - after opening up your browser. The first page loads just as it -- cgit v1.2.3