Morning brain block

Discussion in 'PHP' started by Miss Mindie, Oct 28, 2008.

  1. #1
    So I'm having an issue with an array. I need a way to rewrite this:

    foreach($priorities as $key => $priority) {
              $priorities[$key]['tasks'] = $this->getTasks($priority['priorityid'], 'a', 0) + $this->getTasks($priority['priorityid'], 'b', 0);
            }
    Code (markup):
    Locally I have no problem populating the array with information from both functions in this statement, but on my development server it only runs through the first function call. Ideas? What am I missing?
     
    Miss Mindie, Oct 28, 2008 IP
  2. Kyosys

    Kyosys Peon

    Messages:
    226
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I'm sure it has nothing to do with the function which you did not provide or the context or anything but that line.
     
    Kyosys, Oct 28, 2008 IP