Skip to:
Content

BuddyPress.org

Changes between Initial Version and Version 1 of Ticket #7938, comment 5


Ignore:
Timestamp:
04/27/2020 02:44:03 PM (18 months ago)
Author:
Jean-David
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7938, comment 5

    initial v1  
    11Not sure if my commit doesn't make any side-effect, I'd like some feedback on this, tanks.
     2Basically, in the request, there is always
     3
     4{{{
     5$sql['where'][] = "active = 0";
     6}}}
     7
     8Removing the first index is safe as it's declared earlier in the code as the first key :
     9
     10{{{
     11$sql['where']   = array();
     12$sql['where'][] = "active = 0";
     13}}}