We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The deletePhoto call in the DatabaseMySql.php file contains a call to setActiveFieldForAlbumsFromElement that uses an incorrect number of Parameters
Invalid Call here:
Definition of method here:
The text was updated successfully, but these errors were encountered:
Snapshot of Method def:
protected function setActiveFieldForAlbumsFromElement($id, $value) { $photo = $this->getPhoto($id); $albums = $photo['albums']; ... }
Snapshot of invalid call:
public function deletePhoto($photo) { if(!isset($photo['id'])) return false; $resPhoto = $this->db->execute("UPDATE `{$this->mySqlTablePrefix}photo` SET `active`=0 WHERE `id`=:id AND owner=:owner", array(':id' => $photo['id'], ':owner' => $this->owner)); $this->setActiveFieldForAlbumsFromElement($photo['id'], 'photo', 0); $this->setActiveFieldForTagsFromElement($photo['id'], 'photo', 0); return $resPhoto !== false; }
Sorry, something went wrong.
@jmathai, can you weigh in on this please?
No branches or pull requests
The deletePhoto call in the DatabaseMySql.php file contains a call to setActiveFieldForAlbumsFromElement that uses an incorrect number of Parameters
Invalid Call here:
Definition of method here:
The text was updated successfully, but these errors were encountered: