Skip to content

Commit

Permalink
Fix Edit Link issue for Links Plugin and Updated Links Plugin version
Browse files Browse the repository at this point in the history
Fix for #798. Links Plugin Version now 2.1.6
  • Loading branch information
eSilverStrike committed Sep 20, 2017
1 parent 5a0f1f0 commit ff58780
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion plugins/links/autoinstall.php
Expand Up @@ -51,7 +51,7 @@ function plugin_autoinstall_links($pi_name)
$info = array(
'pi_name' => $pi_name,
'pi_display_name' => $pi_display_name,
'pi_version' => '2.1.5',
'pi_version' => '2.1.6',
'pi_gl_version' => '2.1.1',
'pi_homepage' => 'https://www.geeklog.net/'
);
Expand Down
6 changes: 5 additions & 1 deletion plugins/links/functions.inc
Expand Up @@ -808,7 +808,11 @@ function plugin_upgrade_links()

case '2.1.4':
$current_version = '2.1.5'; // Shipped with Geeklog-2.1.3
break;
break;

case '2.1.5':
$current_version = '2.1.6'; // Shipped with Geeklog-2.1.4
break;

default:
$done = true;
Expand Down
2 changes: 1 addition & 1 deletion public_html/admin/plugins/links/index.php
Expand Up @@ -528,7 +528,7 @@ function deleteLink($lid, $type = '')
if (empty($_GET['lid'])) {
$display .= editlink($mode);
} else {
$display .= editlink($mode, Geeklog\Input::fGet('id'));
$display .= editlink($mode, Geeklog\Input::fGet('lid'));
}
$display = COM_createHTMLDocument($display, array('pagetitle' => $LANG_LINKS_ADMIN[1]));
} else { // 'cancel' or no mode at all
Expand Down

0 comments on commit ff58780

Please sign in to comment.