Skip to content

Commit 18d55b0

Browse files
committed
Fix cron
Bump version
1 parent a011c9d commit 18d55b0

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

badges.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@
2525
<author>Infotel</author>
2626
</authors>
2727
<versions>
28+
<version>
29+
<num>3.1.2</num>
30+
<compatibility>~11.0</compatibility>
31+
<download_url>https://github.com/InfotelGLPI/badges/releases/download/3.1.2/glpi-badges-3.1.2.tar.bz2</download_url>
32+
</version>
2833
<version>
2934
<num>3.1.1</num>
3035
<compatibility>~11.0</compatibility>

setup.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838

3939
global $CFG_GLPI;
4040

41-
define('PLUGIN_BADGES_VERSION', '3.1.1');
41+
define('PLUGIN_BADGES_VERSION', '3.1.2');
4242

4343
if (!defined("PLUGIN_BADGES_DIR")) {
4444
define("PLUGIN_BADGES_DIR", Plugin::getPhpDir("badges"));

src/BadgeReturn.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ static function queryBadgesReturnExpire()
435435
]
436436
],
437437
'WHERE' => [
438-
$requesttable . 'is_affected' => '1',
438+
$requesttable . '.is_affected' => '1',
439439
'NOT' => [
440440
$requesttable . 'affectation_date' => 'NULL'
441441
],

0 commit comments

Comments
 (0)