Skip to content
Snippets Groups Projects
Commit 1229ea5e authored by Astor Bizard's avatar Astor Bizard :dog2:
Browse files

Fixed displayed VPL version number

parent 10092852
No related branches found
No related tags found
No related merge requests found
......@@ -846,7 +846,7 @@ function vpl_create_tabobject($id, $href, $str, $comp = 'mod_vpl') {
* @return string
*/
function vpl_get_version() {
static $version = '';
static $version;
if (! isset( $version )) {
$plugin = new stdClass();
require_once(dirname( __FILE__ ) . '/version.php');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment