Skip to content

Commit 2c56f6f

Browse files
committed
Make sure to get most up to date version
Signed-off-by: Matt Friedman <maf675@gmail.com>
1 parent 7aaf4f9 commit 2c56f6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/qi_version_helper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ public function get_update()
154154
try
155155
{
156156
$updates = $this->get_suggested_updates();
157-
return array_shift($updates);
157+
return array_pop($updates);
158158
}
159159
catch (RuntimeException $e)
160160
{

0 commit comments

Comments
 (0)