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-core/admin/bp-core-slugs.php

    r5683 r5729  
    196196            $directory_pages = array();
    197197
    198             foreach ( (array)$_POST['bp_pages'] as $key => $value ) {
     198            foreach ( (array) $_POST['bp_pages'] as $key => $value ) {
    199199                if ( !empty( $value ) ) {
    200                     $directory_pages[$key] = (int)$value;
     200                    $directory_pages[$key] = (int) $value;
    201201                }
    202202            }
Note: See TracChangeset for help on using the changeset viewer.