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

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

    Details

    • Type: Sub-task
    • Status: Unverified Fix
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.7-PL1
    • Fix Version/s: 3.0.8-RC1
    • Component/s: None
    • Labels:
      None
    • Environment:
      PHP 5.3.1, MSSQL 2008 SP1, Windows 7, Chrome 5.0.342.9

      Description

      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':

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: