diff --git a/module/doc/model.php b/module/doc/model.php
index 986fde7854..6d5782bedb 100644
--- a/module/doc/model.php
+++ b/module/doc/model.php
@@ -1734,7 +1734,7 @@ class docModel extends model
$class = strpos($this->config->doc->officeTypes, $typeKey) !== false ? 'iframe' : '';
$icon = zget($this->config->doc->iconList, $typeKey);
$html .= "
";
- $html .= html::a(helper::createLink('doc', 'create', "objectType=$objectType&objectID=$objectID&libID=$libID&moduleID=0&type=$typeKey", '', $class ? true : false), " " . $typeName, '', "class='$class' data-app='{$this->app->openApp}'");
+ $html .= html::a(helper::createLink('doc', 'create', "objectType=$objectType&objectID=$objectID&libID=$libID&moduleID=0&type=$typeKey", '', $class ? true : false), " " . $typeName, '', "class='$class' data-app='{$this->app->openApp}'");
$html .= "";
if($typeKey == 'url') $html .= '';
}
@@ -1742,7 +1742,7 @@ class docModel extends model
if(common::hasPriv('doc', 'createLib'))
{
$html .= '';
- $html .= '' . html::a(helper::createLink('doc', 'createLib', "type=$objectType&objectID=$objectID"), " " . $this->lang->doc->createLib, '', "class='iframe' data-width='70%'") . '';
+ $html .= '' . html::a(helper::createLink('doc', 'createLib', "type=$objectType&objectID=$objectID"), " " . $this->lang->doc->createLib, '', "class='iframe' data-width='70%'") . '';
}
$html .= "";
}
diff --git a/module/doc/view/tablecontents.html.php b/module/doc/view/tablecontents.html.php
index b3a791fea9..81a1445c85 100644
--- a/module/doc/view/tablecontents.html.php
+++ b/module/doc/view/tablecontents.html.php
@@ -90,7 +90,7 @@ if(empty($type)) $type = 'product';
$icon = zget($this->config->doc->iconList, $typeKey);
$class = strpos($this->config->doc->officeTypes, $typeKey) !== false ? 'iframe' : '';
$html .= "";
- $html .= html::a(helper::createLink('doc', 'create', "objectType=$type&objectID=$objectID&libID=$libID&moduleID=0&type=$typeKey", '', $class ? true : false), " " . $typeName, '', "class='$class' data-app='{$this->app->openApp}'");
+ $html .= html::a(helper::createLink('doc', 'create', "objectType=$type&objectID=$objectID&libID=$libID&moduleID=0&type=$typeKey", '', $class ? true : false), " " . $typeName, '', "class='$class' data-app='{$this->app->openApp}'");
$html .= "";
if($typeKey == 'url') $html .= '';
}