diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-11-18 15:55:16 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-11-18 15:55:16 +0100 |
commit | e10e6ab34e62129d57fc69d7b9b69b08c20e6f5a (patch) | |
tree | 148d358287c60fa79a772beaaa9685c3c385067e /src/Wallabag | |
parent | 10b3509757c704943aa9cdd69c1d02bedfa937a3 (diff) | |
download | wallabag-e10e6ab34e62129d57fc69d7b9b69b08c20e6f5a.tar.gz wallabag-e10e6ab34e62129d57fc69d7b9b69b08c20e6f5a.tar.zst wallabag-e10e6ab34e62129d57fc69d7b9b69b08c20e6f5a.zip |
Replace http status with a string
I don't want to have 0 if we don't fetch status code, I think it's better to have an empty string, mainly for filters
Diffstat (limited to 'src/Wallabag')
-rw-r--r-- | src/Wallabag/CoreBundle/Entity/Entry.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Wallabag/CoreBundle/Entity/Entry.php b/src/Wallabag/CoreBundle/Entity/Entry.php index 31e594bf..3cf9ac1a 100644 --- a/src/Wallabag/CoreBundle/Entity/Entry.php +++ b/src/Wallabag/CoreBundle/Entity/Entry.php | |||
@@ -181,9 +181,9 @@ class Entry | |||
181 | private $isPublic; | 181 | private $isPublic; |
182 | 182 | ||
183 | /** | 183 | /** |
184 | * @var int | 184 | * @var string |
185 | * | 185 | * |
186 | * @ORM\Column(name="http_status", type="integer", nullable=true) | 186 | * @ORM\Column(name="http_status", type="text", nullable=true) |
187 | * | 187 | * |
188 | * @Groups({"entries_for_user", "export_all"}) | 188 | * @Groups({"entries_for_user", "export_all"}) |
189 | */ | 189 | */ |