Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-9582 Missing MSSQL native driver case statements
  3. PHPBB-9566

Two debug notices are displayed when setting a custom profile field though the UCP using the mssqlnative DBAL

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.0.8-RC1
    • 3.0.7-PL1
    • None
    • None
    • PHP 5.3.1, MSSQL 2008 SP1, Windows 7, Chrome 5.0.342.9

      Using the mssqlnative DBAL on 3.0.7-PL1, two debug notices are output when setting the value of a custom profile field though the UCP;

      [phpBB Debug] PHP Notice: in file /includes/functions_profile_fields.php on line 385: Undefined variable: left_delim
      [phpBB Debug] PHP Notice: in file /includes/functions_profile_fields.php on line 385: Undefined variable: right_delim

      This error can be resolved by inserting the following code on line 369 of functions_profile_fields.php;

      case 'mssqlnative':

            ToonArmy Chris Smith
            robhouse robhouse [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: