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:
@@ -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'];
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user