aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-10-30 22:43:38 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-10-30 22:43:38 -0700
commit5f801216373078817d39b8aea34dd5fa7949dc6a (patch)
treef64c1bb6de5e540137d26f090b15729f1d501970 /include/items.php
parenta1e28bb669b1a9376b9c15bc32a3496ef0d906b9 (diff)
downloadvolse-hubzilla-5f801216373078817d39b8aea34dd5fa7949dc6a.tar.gz
volse-hubzilla-5f801216373078817d39b8aea34dd5fa7949dc6a.tar.bz2
volse-hubzilla-5f801216373078817d39b8aea34dd5fa7949dc6a.zip
add hubloc repair script (needed for deadsuperhero, probably temporary)
Diffstat (limited to 'include/items.php')
-rwxr-xr-xinclude/items.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/items.php b/include/items.php
index ce8e2b9b0..4d8fce60f 100755
--- a/include/items.php
+++ b/include/items.php
@@ -3455,6 +3455,7 @@ function post_is_importable($item,$abook) {
$text = prepare_text($item['body'],$item['mimetype']);
$text = html2plain($text);
+
$lang = null;
if((strpos($abook['abook_incl'],'lang=') !== false) || (strpos($abook['abook_excl'],'lang=') !== false)) {