mirror of
https://github.com/maxpozdeev/mytinytodo.git
synced 2026-03-11 08:55:27 +00:00
- Bugfix: builder can not set version
This commit is contained in:
parent
85fb8dea69
commit
a94f3034d1
1 changed files with 2 additions and 1 deletions
|
|
@ -191,7 +191,8 @@ function get_unsafe_mttinfo($v)
|
|||
$_mttinfo['title'] = (Config::get('title') != '') ? Config::get('title') : __('My Tiny Todolist');
|
||||
return $_mttinfo['title'];
|
||||
case 'version':
|
||||
if (MTT_VERSION != '@VERSION') {
|
||||
error_log('mtt-version'. MTT_VERSION);
|
||||
if (MTT_VERSION != '@'.'VERSION') {
|
||||
$_mttinfo['version'] = MTT_VERSION;
|
||||
return $_mttinfo['version'];
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue