Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

fix for inline csv data

  • Loading branch information...
commit 9719acba6e23530ef7f61c55ea2e448445f94122 1 parent c81a5ec
Andreas Gohr authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  syntax.php
2  syntax.php
@@ -88,7 +88,7 @@ function handle($match, $state, $pos, &$handler){
88 88
             $o = trim($o);
89 89
             if (preg_match("/(\w+)=(.*)/",$o,$matches)) {
90 90
                 $opt[$matches[1]] = $matches[2];
91  
-            } else {
  91
+            } elseif($o) {
92 92
                 if(preg_match('/^https?:\/\//i',$o)){
93 93
                     $opt['file'] = $o;
94 94
                 }else{

0 notes on commit 9719acb

Please sign in to comment.
Something went wrong with that request. Please try again.