Skip to content

Commit c2ad6a1

Browse files
committed
Bug-fix.
Changelog excerpt: - Typo in the readFileContent call for the channels data; Fixed.
1 parent 9ddde47 commit c2ad6a1

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

Changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,3 +107,7 @@ __*Why "v3.0.0" instead of "v1.0.0?"*__ Prior to phpMussel v3, the "phpMussel Co
107107
[2023.01.21; Maikuolan]: Better value definitions for `vt_suspicion_level`.
108108

109109
[2023.02.14; Maikuolan]: Slightly improved client-specified language overrides.
110+
111+
### v3.4.0
112+
113+
[2023.03.24; Bug-fix; Maikuolan]: Typo in the readFileContent call for the channels data; Fixed.

src/Loader.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* License: GNU/GPLv2
99
* @see LICENSE.txt
1010
*
11-
* This file: The loader (last modified: 2023.02.14).
11+
* This file: The loader (last modified: 2023.03.24).
1212
*/
1313

1414
namespace phpMussel\Core;
@@ -356,7 +356,7 @@ public function __construct(
356356
$this->Request = new \Maikuolan\Common\Request();
357357
$this->Request->DefaultTimeout = $this->Configuration['core']['default_timeout'];
358358
$ChannelsDataArray = [];
359-
$this->YAML->process($this->readFileContent($this->AssetsPath . 'channels.yaml'), $ChannelsDataArray);
359+
$this->YAML->process($this->readFileContent($this->AssetsPath . 'channels.yml'), $ChannelsDataArray);
360360
$this->Request->Channels = $ChannelsDataArray ?: [];
361361
unset($ChannelsDataArray);
362362
if (!isset($this->Request->Channels['Triggers'])) {

0 commit comments

Comments
 (0)