Browse Source

use cache even if SQL query result was empty

pull/40/head
Michael Save 12 years ago
parent
commit
b7cfd5d0e4
  1. 2
      mod.php

2
mod.php

@ -320,13 +320,13 @@
sprintf($config['file_page'], $post['thread']) . '#' . $match[1]
: sprintf($config['file_page'], $match[1])) .
'">$0</a>', $log['text']);
}
if($config['cache']['enabled'])
cache::set($log_id, $log['text']);
}
}
}
}
$body .= '<tr>' .
'<td class="minimal">' .

Loading…
Cancel
Save