Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
sg_news
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TYPO3
sg_news
Commits
7fc6fd0a
Commit
7fc6fd0a
authored
7 years ago
by
Fabian Galinski
Browse files
Options
Downloads
Patches
Plain Diff
[TASK] Strict check on a boolean check within the News domain model
parent
00a85d3d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1
Task apply language visibility to the news
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Classes/Domain/Model/News.php
+1
-3
1 addition, 3 deletions
Classes/Domain/Model/News.php
with
1 addition
and
3 deletions
Classes/Domain/Model/News.php
+
1
−
3
View file @
7fc6fd0a
...
...
@@ -255,7 +255,7 @@ class News extends CategoryAndNews {
* @return void
*/
public
function
setNeverHighlighted
(
$neverHighlighted
)
{
$this
->
neverHighlighted
=
(
$neverHighlighted
==
=
TRUE
);
$this
->
neverHighlighted
=
(
$neverHighlighted
==
TRUE
);
}
/**
...
...
@@ -290,6 +290,4 @@ class News extends CategoryAndNews {
public
function
setLikes
(
$likes
)
{
$this
->
likes
=
$likes
;
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment