check co_id before calling sponsorList

XMLWordPrintable

      CoPeopleController contains in beforeFilter() this code:

      // generate list of sponsors
      $this->set('sponsors', $this->CoPerson->sponsorList($this->cur_co['Co']['id']));

      This needs to be moved to a beforeRender() method because in beforeFilter() it is being called too early to prevent a REST call from being checked to see if there is a co_id that could be put into the sponsorList() call.

            Assignee:
            Scott Koranda SCG (Inactive)
            Reporter:
            Marie Huynh (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: