Skip to content

Commit 3bc683f

Browse files
committed
version label fix
1 parent 331d43f commit 3bc683f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Installers/NodeBB/NodeBBSetup.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class NodeBBSetup extends BaseSetup {
3434

3535
public function __construct($domain, $appcontext) {
3636
$v = file_get_contents( '/usr/local/hestia/plugins/nodebb/nodebb_version.sh' );
37-
$v = str_replace( 'nodebb_version=', "", $v );
37+
$v = str_replace( ['nodebb_version=', '"'], "", $v );
3838
$v = trim( $v, '"' );
3939
$this->appInfo['version'] = $v;
4040
parent::__construct($domain, $appcontext);

0 commit comments

Comments
 (0)