Skip to content

Commit 7981aa5

Browse files
committed
Fix condition
1 parent a213aa1 commit 7981aa5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

phpactor.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
(put 'phpactor-executable 'safe-local-variable
4242
#'(lambda (v) (if (consp v)
4343
(and (eq 'root (car v)) (stringp (cdr v)))
44-
(null v) (stringp v)))))
44+
(or (null v) (stringp v))))))
4545
;;;###autoload
4646
(progn
4747
(defvar phpactor-working-dir nil
@@ -50,7 +50,7 @@
5050
(put 'phpactor-executable 'safe-local-variable
5151
#'(lambda (v) (if (consp v)
5252
(and (eq 'root (car v)) (stringp (cdr v)))
53-
(null v) (stringp v)))))
53+
(or (null v) (stringp v))))))
5454

5555
(defvar phpactor--debug nil)
5656

0 commit comments

Comments
 (0)