mirror of
https://github.com/wavelog/wavelog
synced 2026-08-13 18:41:16 -04:00
Merge pull request #1519 from AndreasK79/wamp_fixes
Fixes for Wamp server
This commit is contained in:
commit
ff08c84cfe
2 changed files with 2 additions and 2 deletions
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue