mirror of
https://github.com/e107inc/e107.git
synced 2025-08-23 22:53:01 +02:00
Closes #693 - custom pages quick view link broken
This commit is contained in:
@@ -116,8 +116,8 @@ class e_form
|
||||
$class = "class='".$options['class']."'";
|
||||
}
|
||||
else // default
|
||||
{
|
||||
$class= "class='form-horizontal'";
|
||||
{
|
||||
$class= "class='form-horizontal'";
|
||||
}
|
||||
|
||||
if(isset($options['autocomplete'])) // leave as isset()
|
||||
@@ -2781,7 +2781,7 @@ class e_form
|
||||
{
|
||||
$model = $this->getController()->getListModel();
|
||||
// copy url config
|
||||
$model->setUrl($this->getController()->getUrl());
|
||||
if(!$model->getUrl()) $model->setUrl($this->getController()->getUrl());
|
||||
// assemble the url
|
||||
$link = $model->url();
|
||||
}
|
||||
|
Reference in New Issue
Block a user