Skip to content

Commit c55334f

Browse files
committed
raise WACKO_VERSION to 6.1.25
1 parent 48439e0 commit c55334f

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/action/mychangeswatches.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
$pages = $this->db->load_all(
5656
'SELECT p.page_id, p.tag, p.title, p.modified, p.edit_note, p.user_id ' .
5757
$selector .
58-
'GROUP BY p.tag, p.page_id, p.modified, w.user_id ' .
58+
'GROUP BY p.tag, p.page_id, p.title, p.modified, w.user_id ' .
5959
'ORDER BY p.modified DESC, p.tag ASC ' .
6060
$pagination['limit'], true);
6161

src/admin/module/tool_badbehaviour.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ function bb2_summary($engine)
143143

144144
// Query the DB based on variables selected
145145
$results = $engine->db->load_all(
146-
"SELECT BINARY {$argument} as group_type, {$additional_fields} COUNT({$argument}) AS n " .
146+
"SELECT BINARY {$argument} AS group_type, {$additional_fields} COUNT({$argument}) AS n " .
147147
'FROM ' . $engine->prefix . 'bad_behaviour ' .
148148
"GROUP BY BINARY {$argument} " .
149149
'ORDER BY n DESC ' .

src/config/constants.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
const SQL_MODE_PERMISSIVE = 'NO_ENGINE_SUBSTITUTION,NO_AUTO_CREATE_USER';
9292

9393
// Do not change these two lines, PLEASE-PLEASE. In fact, don't change anything! Ever!
94-
const WACKO_VERSION = '6.1.24';
94+
const WACKO_VERSION = '6.1.25';
9595
const HTML_ENTITIES_CHARSET = 'UTF-8';
9696

9797
const WACKO_ENV = 4; // Environment: 1 - development, 2 - test, 3 - stage, 4 - production

src/handler/page/filemeta.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
// tab navigation
7575
$tabs['show'] = 'FileViewProperties';
7676

77-
if ($file_access($file))
77+
if (!empty($file) && $file_access($file))
7878
{
7979
$tabs['edit'] = 'FileEditProperties';
8080
$tabs['label'] = 'FileLabel';

0 commit comments

Comments
 (0)