Jump to content

Applications downloads


mdmx

Recommended Posts

1 hour ago, mdmx said:

@Daniel F This happens even if you save the settings

Submit a ticket.

I can confirm this bug

 

I've also found next issue

\system\Node\Controller.php

				function() use( $url )
				{
					/* Clear guest page caches */
					\IPS\Data\Cache::i()->clearAll();

					/* Clear the value in the session */
					unset( $_SESSION[ \IPS\Request::i()->key ] );

					/* And redirect */
					$finishUrl = $url->setQueryString( array( 'do' => 'form', 'id' => \IPS\Request::i()->from ) );
					if ( \IPS\Request::i()->subnode )
					{
						$finishUrl = $finishUrl->setQueryString( 'subnode', 1 );
					}
					\IPS\Output::i()->redirect( $finishUrl );
				},
				FALSE

Pay attention on FALSE

\system\Helpers\MultipleRedirect\MultipleRedirect.php

	/**
	 * Constructor
	 *
	 * @param	string		$url			The URL where the redirector takes place
	 * @param	callback	$callback		The function to run - should return an array with three elements, or NULL to indicate the process is finished or a string to display -
	 *	@li	Data to pass back to itself for the next "step"
	 *	@li	A message to display to the user
	 *	@li	[Optional] A number between 	1 and 100 for a progress bar
	 * @param	callback	$finished		Code to run when finished
	 * @param	bool		$finalRedirect	If FALSE, will not force a real redirect to the finished method
	 * @return	void
	 */

$finalRedirect    If FALSE, will not force a real redirect to the finished method

So we will always (while key exists) get old value from $_SESSION

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...