Skip to content

Commit d081b06

Browse files
committed
var check
1 parent dcb0ce4 commit d081b06

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

public_html/lists/admin/updateLib.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
*/
88
function getCurrentphpListVersion($path = '')
99
{
10+
if (empty($path)) return false;
1011
$version = file_get_contents($path);
1112
$matches = array();
1213
preg_match_all('/define\(\"VERSION\",\"(.*)\"\);/', $version, $matches);

0 commit comments

Comments
 (0)