Merge pull request #1519 from AndreasK79/wamp_fixes

Fixes for Wamp server
This commit is contained in:
Andreas Kristiansen 2025-01-19 18:36:29 +01:00 committed by GitHub
commit ff08c84cfe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -21,7 +21,7 @@ class Migration_create_label_paper_types_table extends CI_Migration {
'paper_name' => array(
'type' => 'VARCHAR',
'constraint' => '250',
'constraint' => '191',
),
'metric' => array(

View file

@ -271,7 +271,7 @@ class Update_model extends CI_Model {
$result=curl_exec($ch);
curl_close($ch);
$json = json_decode($result, true);
$latest_tag = $json[0]['tag_name'];
$latest_tag = $json[0]['tag_name'] ?? 'Unknown';
return $latest_tag;
}