projects
/
SonOfLokstallBot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6250d3
)
Bug I don't understand yet, yolo
author
Cameron Ball
<cameron@cameron1729.xyz>
Wed, 26 Dec 2018 14:05:18 +0000
(22:05 +0800)
committer
Cameron Ball
<cameron@cameron1729.xyz>
Fri, 28 Dec 2018 06:27:20 +0000
(14:27 +0800)
src/purjolok.php
patch
|
blob
|
history
diff --git
a/src/purjolok.php
b/src/purjolok.php
index
063d69e
..
2a0d366
100644
(file)
--- a/
src/purjolok.php
+++ b/
src/purjolok.php
@@
-24,7
+24,7
@@
function getBetween($content,$start){
return '';
}
-if ($between = getBetween(reveal($message), '[billid]')) {
+if ($between = getBetween(reveal($message
?? ''
), '[billid]')) {
$messages = array_values(array_filter(
getMessagesFromInbox(
getInbox(