Changeset 1363


Ignore:
Timestamp:
Jan 12, 2012, 12:57:36 PM (6 years ago)
Author:
dkg
Message:

remove call-time pass-by-reference

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/jpdd/class.jpdd.php

    r1292 r1363  
    465465          reset($wshops);
    466466          while(list(,$w) = each($wshops))
    467             $w->writeToPDF(&$pdf);
     467            $w->writeToPDF($pdf);
    468468        }
    469469      }
     
    498498
    499499    function addAllPDFs(&$pdf) {
    500       $this->addDoorPDFs(&$pdf);
    501       $this->addAttendeeIndexPDF(&$pdf);
    502       $this->addSignupPDFs(&$pdf);
    503       $this->addTablePDFs(&$pdf);
    504       $this->addOpenWorkshopsToPDF(&$pdf);
     500      $this->addDoorPDFs($pdf);
     501      $this->addAttendeeIndexPDF($pdf);
     502      $this->addSignupPDFs($pdf);
     503      $this->addTablePDFs($pdf);
     504      $this->addOpenWorkshopsToPDF($pdf);
    505505    }
    506506
     
    560560              require_once('class.jpdd.pdf.php');
    561561              $pdf = new JPDD_PDF();
    562               $this->$f(&$pdf);
     562              $this->$f($pdf);
    563563            } else
    564564              $this->permissionDenied('This printout is not for you.');
Note: See TracChangeset for help on using the changeset viewer.