summaryrefslogtreecommitdiff
path: root/main/main.c
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2002-08-12 20:12:31 +0000
committerMarcus Boerger <helly@php.net>2002-08-12 20:12:31 +0000
commit1134977baf64a968d384a3da8a6bdcf56c888e70 (patch)
tree0465e3adf6889db1b422ca628fdb0c57b34327dc /main/main.c
parentac9991a24589dacf8bb671274c9b39608fb503d3 (diff)
downloadphp-git-1134977baf64a968d384a3da8a6bdcf56c888e70.tar.gz
fix for extension = ""
make php_verror available
Diffstat (limited to 'main/main.c')
-rw-r--r--main/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/main.c b/main/main.c
index 6ccacb233e..fc6be42a63 100644
--- a/main/main.c
+++ b/main/main.c
@@ -416,6 +416,7 @@ PHPAPI void php_verror(const char *docref, const char *params, int type, const c
efree(docref_buf);
}
docref_buf = ref;
+ docref = docref_buf;
p = strrchr(ref, '#');
if (p) {
target = estrdup(p);