瀏覽代碼

Single quote

Bob Mottram 8 年之前
父節點
當前提交
8cd40f632d
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      src/freedombone-utils-gnusocialtools

+ 1
- 1
src/freedombone-utils-gnusocialtools 查看文件

@@ -419,7 +419,7 @@ function gnusocial_block_domain_script {
419 419
     echo '    if [ $ctr -gt 0 ]; then' >> /usr/bin/gnusocial-delete-domain
420 420
     echo '        #echo "Removing user ID $id on $remove_domain"' >> /usr/bin/gnusocial-delete-domain
421 421
     echo '' >> /usr/bin/gnusocial-delete-domain
422
-    echo "        database_query=\"delete from conversation where uri like \"%\${remove_domain}%';\"" >> /usr/bin/gnusocial-delete-domain
422
+    echo "        database_query=\"delete from conversation where uri like '%\${remove_domain}%';\"" >> /usr/bin/gnusocial-delete-domain
423 423
     echo '        mysql -u root --password="$MARIADB_PASSWORD" -e "$database_query" $database_name' >> /usr/bin/gnusocial-delete-domain
424 424
     echo '' >> /usr/bin/gnusocial-delete-domain
425 425
     echo '        database_query="delete from reply where profile_id=${id};"' >> /usr/bin/gnusocial-delete-domain