From 1eff3298c9caf15460a2599e4d531a8c028f2078 Mon Sep 17 00:00:00 2001 From: Leonardo Barichello Date: Tue, 15 Oct 2019 09:09:58 -0300 Subject: [PATCH] chamada para tags MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit correção na condição do if que chamava a criação de paginas de tags --- axe/single.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/axe/single.php b/axe/single.php index b1ed779..f450628 100644 --- a/axe/single.php +++ b/axe/single.php @@ -187,7 +187,7 @@ function gera_single($caminho, $force=false, $preview=false,$contaitems=1000) { if (gravaarquivohtml($nome,$single,$force,$preview)) { if (isset($POST['POSTID'])) criasymlink($nome,$POST['POSTID']); if (!$preview) criafonteeditavel($nome,$force,$preview); - if (true===$quickrebuild) { // não terá rebuild imediato, portanto atualiza já as tags afetadas + if (true!=$quickrebuild) { // não terá rebuild imediato, portanto atualiza já as tags afetadas foreach(explode(",",$POST['POSTTAGS']) as $tag) { if (strlen(trim($tag))>0) cria_tagindex($tag); } @@ -318,4 +318,4 @@ function cria_descriptor($caminho) { } } -?> \ No newline at end of file +?>