Skip to content

Commit

Permalink
Changed next() into current()
Browse files Browse the repository at this point in the history
Set version to 4.0.3
fixes #34
  • Loading branch information
tomolimo committed Feb 7, 2024
1 parent f582eb7 commit 41e20c1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Home for Ticket Cleaner GLPI plugin

See wiki for filter explanations: https://github.com/tomolimo/ticketcleaner/wiki

## 4.0.2
## 4.0.3
GLPI 10.0 compatible release

## 3.0.0
Expand Down
2 changes: 1 addition & 1 deletion hook.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function loadSha1IntoDB() {
$res = $DB->request('glpi_plugin_ticketcleaner_picturehashes_lastupdate');
if ($res->numrows() > 0) {
//$row = $DB->fetch_array($res);
$row = $res->next();
$row = $res->current();
$lastupdate = $row['lastupdate'];
}

Expand Down
2 changes: 1 addition & 1 deletion setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
// and it cleans attached pictures to emails
// It has been succesfully tested with plain TEXT and HTML emails
// ----------------------------------------------------------------------
define ("PLUGIN_TICKETCLEANER_VERSION", "4.0.2");
define ("PLUGIN_TICKETCLEANER_VERSION", "4.0.3");
define ("PLUGIN_TICKETCLEANER_VERSION_MIN", "10.0");
define ("PLUGIN_TICKETCLEANER_VERSION_MAX", "11.0");

Expand Down
2 changes: 1 addition & 1 deletion ticketcleaner.xml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ This plugin adds the possibility to translate it 'inline', see wiki.]]></en>
<compatibility>9.5</compatibility>
</version>
<version>
<num>4.0.2</num>
<num>4.0.3</num>
<compatibility>10.0</compatibility>
</version>
</versions>
Expand Down

0 comments on commit 41e20c1

Please sign in to comment.