Skip to content
This repository was archived by the owner on Nov 25, 2020. It is now read-only.

Commit a7ca4f2

Browse files
committed
revert cef1688
1 parent 504468a commit a7ca4f2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

core/src/plugins/access.smb/smb.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -639,9 +639,7 @@ public function stream_open ($url, $mode, $options, $opened_path)
639639
$this->mode = $mode;
640640
$this->defer_stream_read;
641641
$this->parsed_url = $pu = smb::parse_url($url);
642-
if ($pu['type'] <> 'path')
643-
return false;
644-
//trigger_error('stream_open(): error in URL', E_USER_ERROR);
642+
if ($pu['type'] <> 'path') trigger_error('stream_open(): error in URL', E_USER_ERROR);
645643
switch ($mode) {
646644
case 'r':
647645
case 'r+':

0 commit comments

Comments
 (0)