nie wiem jak to możliwe ale $this->img działa w funkcji checkimage() ,ale w funkcji prepareImage() wartość $this->img jest pusta.Ktoś ma jakiś pomyśl co się dzieje?
public function __construct($img,$case,$path){ $this->img = $img; $this->case = $case; } public function checkImage(){ return false; }else { return $this->action = true; } } public function prepareImage(){ if($this->action != true){ return false; } else{
pozdrawiam