* Delete excess #.

This commit is contained in:
xieqiyu
2024-01-04 09:46:00 +08:00
parent 5ae059802c
commit a4ffa4bbab
+1 -1
View File
@@ -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)));