Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/VfsPublic

Commit6ecc8c1

Browse files
committed
lib/Horde/Vfs/Ssh2.php: Use square braces (not curly braces) for accessing string offsets.
1 parentf88615f commit6ecc8c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎lib/Horde/Vfs/Ssh2.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -870,7 +870,7 @@ protected function _wrap($remote)
870870
if (!empty($this->_params['port'])) {
871871
$wrapper .=':' .$this->_params['port'];
872872
}
873-
if ($remote{0} !='/') {
873+
if ($remote[0] !='/') {
874874
$remote =$this->getCurrentDirectory() .'/' .$remote;
875875
}
876876
return$wrapper .$remote;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp