* Delete excess #.
This commit is contained in:
@@ -477,7 +477,7 @@ class story extends control
|
||||
$story = $this->story->getById($storyID, $version, true);
|
||||
$product = $this->product->getByID((int)$story->product);
|
||||
|
||||
if($tab == 'product' and !empty($product->shadow)) return $this->send(array('result' => 'success', 'load' => "{$uri}##app=project"));
|
||||
if($tab == 'product' and !empty($product->shadow)) return $this->send(array('result' => 'success', 'load' => "{$uri}#app=project"));
|
||||
if(!$story) return $this->send(array('result' => 'success', 'message' => $this->lang->notFound, 'load' => $this->createLink($this->config->vision == 'lite' ? 'project' : 'product', 'all')));
|
||||
if(!$this->app->user->admin and strpos(",{$this->app->user->view->products},", ",$story->product,") === false) return $this->send(array('result' => 'success', 'message' => $this->lang->product->accessDenied, 'load' => array('back' => true)));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user