projects
/
Pman.Core
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Lock.php
[Pman.Core]
/
Lock.php
diff --git
a/Lock.php
b/Lock.php
index
6ff0f90
..
92025d8
100644
(file)
--- a/
Lock.php
+++ b/
Lock.php
@@
-52,7
+52,7
@@
class Pman_Core_Lock extends Pman
{
// default action is to attempt to lock..
- $action = empty($action) ? 'lock' : 'unlock';
+ $action = empty($action)
|| $action == 'lock'
? 'lock' : 'unlock';
$this->$action();
}