Skip to content

Commit

Permalink
raise WACKO_VERSION to 6.1.25
Browse files Browse the repository at this point in the history
  • Loading branch information
vendeeglobe committed Apr 11, 2024
1 parent 48439e0 commit c55334f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/action/mychangeswatches.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
$pages = $this->db->load_all(
'SELECT p.page_id, p.tag, p.title, p.modified, p.edit_note, p.user_id ' .
$selector .
'GROUP BY p.tag, p.page_id, p.modified, w.user_id ' .
'GROUP BY p.tag, p.page_id, p.title, p.modified, w.user_id ' .
'ORDER BY p.modified DESC, p.tag ASC ' .
$pagination['limit'], true);

Expand Down
2 changes: 1 addition & 1 deletion src/admin/module/tool_badbehaviour.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ function bb2_summary($engine)

// Query the DB based on variables selected
$results = $engine->db->load_all(
"SELECT BINARY {$argument} as group_type, {$additional_fields} COUNT({$argument}) AS n " .
"SELECT BINARY {$argument} AS group_type, {$additional_fields} COUNT({$argument}) AS n " .
'FROM ' . $engine->prefix . 'bad_behaviour ' .
"GROUP BY BINARY {$argument} " .
'ORDER BY n DESC ' .
Expand Down
2 changes: 1 addition & 1 deletion src/config/constants.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
const SQL_MODE_PERMISSIVE = 'NO_ENGINE_SUBSTITUTION,NO_AUTO_CREATE_USER';

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

const WACKO_ENV = 4; // Environment: 1 - development, 2 - test, 3 - stage, 4 - production
Expand Down
2 changes: 1 addition & 1 deletion src/handler/page/filemeta.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
// tab navigation
$tabs['show'] = 'FileViewProperties';

if ($file_access($file))
if (!empty($file) && $file_access($file))
{
$tabs['edit'] = 'FileEditProperties';
$tabs['label'] = 'FileLabel';
Expand Down

0 comments on commit c55334f

Please sign in to comment.