Skip to content

Commit

Permalink
Fixed Poll autotag title to allow for quotes
Browse files Browse the repository at this point in the history
Poll Plugin version now v2.2.0
  • Loading branch information
eSilverStrike committed Nov 23, 2018
1 parent 21ac11b commit e87eab0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion plugins/polls/autoinstall.php
Expand Up @@ -51,7 +51,7 @@ function plugin_autoinstall_polls($pi_name)
$info = array(
'pi_name' => $pi_name,
'pi_display_name' => $pi_display_name,
'pi_version' => '2.1.9',
'pi_version' => '2.2.0',
'pi_gl_version' => '2.1.1',
'pi_homepage' => 'https://www.geeklog.net/'
);
Expand Down
6 changes: 5 additions & 1 deletion plugins/polls/functions.inc
Expand Up @@ -1307,6 +1307,10 @@ function plugin_upgrade_polls()

case '2.1.8':
$current_version = '2.1.9';
break;

case '2.1.9':
$current_version = '2.2.0';
break;

default:
Expand Down Expand Up @@ -1618,7 +1622,7 @@ function plugin_autotags_polls($op, $content = '', $autotag = '')
switch ($autotag['tag']) {
case 'poll':
if (!empty($autotag['parm2'])) {
$title = COM_applyFilter($autotag['parm2']);
$title = $autotag['parm2'];
} else {
$title = DB_getItem($_TABLES['polltopics'], 'topic', "pid = '" . DB_escapeString($pid) . "' ");
}
Expand Down
4 changes: 2 additions & 2 deletions public_html/admin/install/devel-db-update.php
Expand Up @@ -542,8 +542,8 @@ function update_DatabaseFor212()
$plugin_version = '2.1.7';
break;
case 'polls':
$new_plugin_version = false;
$plugin_version = '2.1.9';
$new_plugin_version = true;
$plugin_version = '2.2.0';
break;
case 'calendar':
$new_plugin_version = true;
Expand Down

0 comments on commit e87eab0

Please sign in to comment.