Project

General

Profile

Bug #8606

system_advanced_admin.php: PHP error when saving without sshdkeyonly set

Added by Jim Pingle about 1 year ago. Updated about 1 year ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Web Interface
Target version:
Start date:
06/28/2018
Due date:
% Done:

100%

Estimated time:
Affected Version:
2.4.4
Affected Architecture:
All

Description

If the SSH settings are set to "Password or Public Key", when saving any other setting on the page a PHP error occurs:

Fatal error: Cannot unset string offsets in /usr/local/www/system_advanced_admin.php on line 257 PHP ERROR: Type: 1, File: /usr/local/www/system_advanced_admin.php, Line: 257, Message: Cannot unset string offsets

To me, I have a fix.

Associated revisions

Revision 8038c4e8 (diff)
Added by Jim Pingle about 1 year ago

Correct a PHP error when saving on system_advanced_admin.php. Fixes #8606

History

#1 Updated by Jim Pingle about 1 year ago

  • Status changed from Confirmed to Feedback
  • % Done changed from 0 to 100

#2 Updated by James Dekker about 1 year ago

On 2.4.4.a.20180705.0032 checked "Display page name first in browser tab", checked "Enable Secure Shell", and left the option for SSHd Key Only set to "Password or Public Key" .. was able to save the settings and saw no errors after doing so.

#3 Updated by Jim Pingle about 1 year ago

  • Status changed from Feedback to Resolved

Also available in: Atom PDF