projects
/
friendica.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b628e82
)
Bugfix: Avoid warning when posting items and the worker isn't active
author
Michael
<heluecht@pirati.ca>
Tue, 15 Nov 2016 11:52:01 +0000
(11:52 +0000)
committer
Michael
<heluecht@pirati.ca>
Tue, 15 Nov 2016 11:52:01 +0000
(11:52 +0000)
boot.php
patch
|
blob
|
history
diff --git
a/boot.php
b/boot.php
index 74609b89685801c52db655bf833e0d96b0a7f045..88f7ad7829fff1e30d40290b2794d2834fd089a1 100644
(file)
--- a/
boot.php
+++ b/
boot.php
@@
-1377,7
+1377,7
@@
class App {
function proc_run($args) {
// Add the php path if it is a php call
- if (count($args) && ($args[0] === 'php' OR
is_int
($args[0]))) {
+ if (count($args) && ($args[0] === 'php' OR
!is_string
($args[0]))) {
// If the last worker fork was less than 10 seconds before then don't fork another one.
// This should prevent the forking of masses of workers.