Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
12/10/2014 12:14:52 PM (10 years ago)
Author:
boonebgorges
Message:

Fix typo in test_bp_signup_enabled_when_registration_setting_does_not_exist_should_default_to_true().

It was causing a reference error.

See [9219], [9220].

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/testcases/blogs/template.php

    r9220 r9223  
    121121     */
    122122    public function test_bp_signup_enabled_when_registration_setting_does_not_exist_should_default_to_true() {
    123         $old_settings = $settings = buddypress()->site_options['registration'];
     123        $old_settings = $settings = buddypress()->site_options;
    124124        if ( is_array( $settings['registration'] ) && isset( $settings['registration'] ) ) {
    125125            unset( $settings['registration'] );
Note: See TracChangeset for help on using the changeset viewer.