daily pastebin goal
26%
SHARE
TWEET

Untitled

a guest Jul 12th, 2018 49 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. if($this->request->post('froles') == NULL)
  3. {
  4.         $froles = array();
  5. }
  6. else
  7. {
  8.         $froles = $this->request->post('froles');
  9. }
  10.  
  11. can turn into:
  12.  
  13. $froles = $this->request->post('froles', array());
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top