Changeset 212899 in webkit


Ignore:
Timestamp:
Feb 23, 2017 10:18:11 AM (7 years ago)
Author:
Jon Davis
Message:

Fixed saving survey data
https://bugs.webkit.org/show_bug.cgi?id=168730

Reviewed by Joseph Pecoraro.

  • wp-content/themes/webkit/functions.php:
Location:
trunk/Websites/webkit.org
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Websites/webkit.org/ChangeLog

    r212636 r212899  
     12017-02-23  Jon Davis  <jond@apple.com>
     2
     3        Fixed saving survey data
     4        https://bugs.webkit.org/show_bug.cgi?id=168730
     5
     6        Reviewed by Joseph Pecoraro.
     7
     8        * wp-content/themes/webkit/functions.php:
     9
    1102017-02-20  Manuel Rego Casasnovas  <rego@igalia.com>
    211
  • trunk/Websites/webkit.org/wp-content/themes/webkit/functions.php

    r211739 r212899  
    534534        }
    535535
    536         if ($data === false) {
     536        if ( $data === false ) {
    537537            $deprecated = null;
    538538            $autoload = 'no';
    539             add_option($option, $score, $deprecated, $autoload);
    540         } else update_option($option, $score);
    541 
     539            add_option(self::DATA_SETTING_NAME, $score, $deprecated, $autoload);
     540        } else {
     541            update_option(self::DATA_SETTING_NAME, $score);
     542        }
     543       
    542544        $httponly = false;
    543545        $secure = false;
Note: See TracChangeset for help on using the changeset viewer.