diff options
| author | Greg Roach <fisharebest@webtrees.net> | 2018-08-16 13:41:58 +0100 |
|---|---|---|
| committer | Greg Roach <fisharebest@webtrees.net> | 2018-08-16 13:57:09 +0100 |
| commit | 20ff464cbc8712b4f48b31fc9333ead7edbda568 (patch) | |
| tree | c694774b3075bbeb03bf7a85a97670e7506551ca /app/GedcomTag.php | |
| parent | 32a9d5a3e34bae656568bc409352730f7496360b (diff) | |
| download | webtrees-20ff464cbc8712b4f48b31fc9333ead7edbda568.tar.gz webtrees-20ff464cbc8712b4f48b31fc9333ead7edbda568.tar.bz2 webtrees-20ff464cbc8712b4f48b31fc9333ead7edbda568.zip | |
Strict type check
Diffstat (limited to 'app/GedcomTag.php')
| -rw-r--r-- | app/GedcomTag.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/GedcomTag.php b/app/GedcomTag.php index 5e4c26bca6..6096084ce2 100644 --- a/app/GedcomTag.php +++ b/app/GedcomTag.php @@ -1937,7 +1937,7 @@ class GedcomTag return I18N::translate('Image dimensions'); default: // If no specialisation exists (e.g. DEAT:CAUS), then look for the general (CAUS) - if (strpos($tag, ':')) { + if (strpos($tag, ':') !== false) { list(, $tag) = explode(':', $tag, 2); return self::getLabel($tag, $record); |
