KD2 Framework  Check-in [d63c22fa14]

Overview
Comment:Fix SkrivLite call of extensions when there are no arguments
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | 7.3
Files: files | file ages | folders
SHA1: d63c22fa14e1d92f16fae6e4dc5443b147cafe0d
User & Date: bohwaz on 2021-09-14 20:28:51
Other Links: branch diff | manifest | tags
Context
2021-09-20
17:59
Add typing to ZipWriter check-in: 6029882a31 user: bohwaz tags: 7.3
2021-09-14
20:28
Fix SkrivLite call of extensions when there are no arguments check-in: d63c22fa14 user: bohwaz tags: 7.3
2021-07-29
07:28
Try to fix issues with mail headers decoding check-in: 7584868379 user: bohwaz tags: 7.3
Changes

Modified src/lib/KD2/SkrivLite.php from [e177db920c] to [f379722df9].

294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
		}
		elseif ($_args != '')
		{
			return $this->parseError('Invalid arguments (expecting arg1|arg2|arg3… or arg1="value1") for extension "'.$name.'": '.$_args);
		}
		else
		{
			$args = null;
		}

		return call_user_func($this->_extensions[$name], $args, $content, $this);
	}

	public function escape($text)
	{







|







294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
		}
		elseif ($_args != '')
		{
			return $this->parseError('Invalid arguments (expecting arg1|arg2|arg3… or arg1="value1") for extension "'.$name.'": '.$_args);
		}
		else
		{
			$args = [];
		}

		return call_user_func($this->_extensions[$name], $args, $content, $this);
	}

	public function escape($text)
	{