Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CSU
tweeki
Commits
62f00b74
Unverified
Commit
62f00b74
authored
Jun 16, 2019
by
paladox
Committed by
GitHub
Jun 16, 2019
Browse files
Fix "count(): Parameter must be an array or an object that implements Countable"
parent
eb8b3442
Changes
1
Hide whitespace changes
Inline
Side-by-side
includes/TweekiTemplate.php
View file @
62f00b74
...
...
@@ -527,7 +527,7 @@ class TweekiTemplate extends BaseTemplate {
case
'LANGUAGES'
:
$items
=
$this
->
data
[
'language_urls'
];
if
(
count
(
$items
)
>
0
&&
$items
)
{
if
(
is_array
(
$items
)
&&
count
(
$items
)
>
0
&&
$items
)
{
return
[[
'href'
=>
'#'
,
'text'
=>
wfMessage
(
'otherlanguages'
),
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment