Skip to content
Snippets Groups Projects
Commit 482624fc authored by Rasmus Fuhse's avatar Rasmus Fuhse
Browse files

fixes #75

parent b3a30c5c
No related branches found
No related tags found
No related merge requests found
...@@ -44,7 +44,7 @@ class MarketPlugin extends SimpleORMap { ...@@ -44,7 +44,7 @@ class MarketPlugin extends SimpleORMap {
} }
public function requestReview() { public function requestReview() {
if ($this->content['publiclyvisible'] && !$this->content_db['publiclyvisible'] && !$this['approved']) { if ($this['publiclyvisible'] && ($this->isNew() || $this->isFieldDirty("publiclyvisible")) && !$this['approved']) {
$messaging = new messaging(); $messaging = new messaging();
$statement = DBManager::get()->prepare(" $statement = DBManager::get()->prepare("
SELECT roles_user.userid SELECT roles_user.userid
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment