-
Notifications
You must be signed in to change notification settings - Fork 244
New issue
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
Call to setActiveFieldForAlbumsFromElement with incorrect number of Parameters ... #1593
Comments
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;
} |
@jmathai, can you weigh in on this please? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: