1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-19 04:41:53 +02:00

Code cleanup and optimization

This commit is contained in:
Cameron
2020-12-14 16:21:48 -08:00
parent c258b856f2
commit 44e260b121
81 changed files with 747 additions and 722 deletions

View File

@@ -224,7 +224,7 @@ class tinymce
"<tbody>";
if(!$sql->db_Select_gen($this->listQry))
if(!$sql->gen($this->listQry))
{
$text .= "\n<tr><td colspan='".count($this->fields)."' class='center middle'>".CUSLAN_42."</td></tr>\n";
}
@@ -300,7 +300,7 @@ class tinymce
/**
* Render Form Element (edit page)
*
* @param array $key
* @param string $key
* @param array $row
* @return string method's value or HTML input
*/
@@ -339,8 +339,8 @@ class tinymce
if($id)
{
$query = str_replace("{ID}",$id,$this->editQry);
$sql->db_Select_gen($query);
$row = $sql->db_Fetch();
$sql->gen($query);
$row = $sql->fetch();
}
else
{