Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/11/2012 09:32:04 PM (13 years ago)
Author:
johnjamesjacoby
Message:

Breathing room for cast variables.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-forums/bp-forums-admin.php

    r5574 r5729  
    123123
    124124        case 'new':
    125             if ( isset( $_REQUEST['doinstall'] ) && 1 == (int)$_REQUEST['doinstall'] ) {
     125            if ( isset( $_REQUEST['doinstall'] ) && 1 == (int) $_REQUEST['doinstall'] ) {
    126126                $result = bp_forums_bbpress_install();
    127127
     
    316316
    317317    // Loop through the lines and modify them
    318     foreach ( (array)$lines as $line ) {
     318    foreach ( (array) $lines as $line ) {
    319319        if ( isset( $alterations[substr( $line, 0, 20 )] ) ) {
    320320            $alteration = $alterations[substr( $line, 0, 20 )];
     
    349349
    350350    // Write lines one by one to avoid OS specific newline hassles
    351     foreach ( (array)$modified_lines as $modified_line ) {
     351    foreach ( (array) $modified_lines as $modified_line ) {
    352352        if ( false !== strpos( $modified_line, '?>' ) ) {
    353353            $modified_line = '?>';
Note: See TracChangeset for help on using the changeset viewer.