1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-19 12:51:52 +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

@@ -661,9 +661,9 @@ class links_admin_form_ui extends e_admin_form_ui
{
if(null === $this->current_parent)
{
if(e107::getDb()->db_Select('links', 'link_name', 'link_id='.$current))
if(e107::getDb()->select('links', 'link_name', 'link_id='.$current))
{
$tmp = e107::getDb()->db_Fetch();
$tmp = e107::getDb()->fetch();
$this->current_parent = $tmp['link_name'];
}
}