Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-7170

Unneeded check in style.php

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 3.0.2
    • 3.0.x
    • Styles
    • None
    • PHP Environment:
      Database:

      In addition to #s24575: Since empty($dbms) is now checked after including config.php, it doesn't need to be checked later.

      Index: style.php
      ===================================================================
      --- style.php	(revision 8487)
      +++ style.php	(working copy)
      @@ -58,7 +58,7 @@
       // server a little
       if ($id)
       {
      -	if (empty($acm_type) || empty($dbms))
      +	if (empty($acm_type))
       	{
       		die('Hacking attempt');
       	}

            Acyd Burn Meik Sievertsen [X] (Inactive)
            bantu Andreas Fischer [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: