aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndreas Hubel2020-06-07 21:20:45 +0200
committerAndreas Hubel2020-06-07 21:20:45 +0200
commit7d167175ef9878edfd488518e0bdd09493fe6b9b (patch)
treeca0b0b18e0e3c477f3e879d610554143e1792ca5 /lib
parent533fa3b1b971251a3eb7eff5e3c9c2609fd34af2 (diff)
fix bug in less.php
Diffstat (limited to 'lib')
-rw-r--r--lib/less.php/Less.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/less.php/Less.php b/lib/less.php/Less.php
index 3616cb4..398ad2d 100644
--- a/lib/less.php/Less.php
+++ b/lib/less.php/Less.php
@@ -6040,7 +6040,7 @@ class Less_Tree_Import extends Less_Tree{
//if the path is relative, the file should be in the current directory
$import_dirs[ $this->currentFileInfo['currentDirectory'] ] = $this->currentFileInfo['uri_root'];
- }else{
+ }else if ($this->currentFileInfo){
//otherwise, the file should be relative to the server root
$import_dirs[ $this->currentFileInfo['entryPath'] ] = $this->currentFileInfo['entryUri'];