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

Details

    • Sub-task
    • Status: Unverified Fix (View Workflow)
    • Minor
    • Resolution: Fixed
    • 3.0.7-PL1
    • 3.0.8-RC1
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: