Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
redis-3434150
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
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
Issue forks
redis-3434150
Commits
21a33559
Commit
21a33559
authored
10 years ago
by
Pierre.R
Browse files
Options
Downloads
Patches
Plain Diff
Minor code documentation fix
parent
973593d4
No related branches found
Branches containing commit
Tags
1.0.3
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/Redis/Path/PhpRedis.php
+3
-1
3 additions, 1 deletion
lib/Redis/Path/PhpRedis.php
with
3 additions
and
1 deletion
lib/Redis/Path/PhpRedis.php
+
3
−
1
View file @
21a33559
...
...
@@ -108,7 +108,9 @@ class Redis_Path_PhpRedis extends Redis_Path_AbstractHashLookup
if
(
$doNoneLookup
&&
(
!
$ret
||
self
::
VALUE_NULL
===
$ret
))
{
$previous
=
$ret
;
$ret
=
$client
->
hget
(
$this
->
getKey
(
$keyPrefix
,
LANGUAGE_NONE
),
$hkey
);
if
(
!
$ret
&&
$previous
)
{
// Restore null placeholder
if
(
!
$ret
&&
$previous
)
{
// Restore null placeholder else we loose conversion to false
// and drupal_lookup_path() would attempt saving it once again
$ret
=
$previous
;
}
}
...
...
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