dever 4 years ago
parent
commit
78acc54cf5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/View.php

+ 1 - 1
src/View.php

@@ -360,7 +360,7 @@ class View
             if ($type) {
                 $method = 'handle_' . $type;
                 $file = $handle->$method($id, $source, $dest, $path);
-            } elseif (!$local) {
+            } elseif (!$local && $handle->yun) {
                 $yun = $handle->yun->getData();
                 $file = $yun['host'] . $source;
             }