Skip to content

Fixed bug that forced loading events and views from pre-defined folder#3

Open
hellomrbrown wants to merge 1 commit intointegrationmonitoring:masterfrom
hellomrbrown:master
Open

Fixed bug that forced loading events and views from pre-defined folder#3
hellomrbrown wants to merge 1 commit intointegrationmonitoring:masterfrom
hellomrbrown:master

Conversation

@hellomrbrown
Copy link

[english version below]

Из-за некорректной проверки, код, который загружает View/Event, всегда загружает его из self::VIEW_FILES_PATH / self::EVENTS_FILES_PATH - даже в случае, когда передаешь корректный externalPath.
Исправил проверку на empty.

Due to incorrect check of externalPath variable, Views and Events are loaded from self::vIEW_FILES_PATH and self::EVENTS_FILES_PATH even when externalPath is passed into the function and is not null.
I've fixed the bug and replaced the check with simple "empty", which does the thing just fine.

…r even in cases when a proper external path was provided.
@wiistriker
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants