Overview
Comment:Fix background image reset
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | stable
Files: files | file ages | folders
SHA3-256: cbde96edabbf58932821366dc17fcac5327174370b619dce72fd516c68171aea
User & Date: bohwaz on 2021-04-11 13:29:34
Other Links: manifest | tags
Context
2021-04-11
13:34
Still handle skeletons when site is disabled check-in: ec654f89d4 user: bohwaz tags: trunk, stable
13:29
Fix background image reset check-in: cbde96edab user: bohwaz tags: trunk, stable
13:28
Force quota refresh in advanced check-in: 94587ef7d6 user: bohwaz tags: trunk
Changes

Modified src/include/lib/Garradin/Config.php from [043357e951] to [a29cc23900].

200
201
202
203
204
205
206



207
208
209
210
211
212
213
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216







+
+
+







			}
			else {
				$file = File::createFromBase64(Utils::dirname(self::ADMIN_BACKGROUND_FILENAME), Utils::basename(self::ADMIN_BACKGROUND_FILENAME), $source['admin_background']);
			}

			$source['admin_background'] = $file->path;
		}
		else {
			unset($source['admin_background']);
		}

		parent::importForm($source);
	}

	protected function _filterType(string $key, $value)
	{
		switch ($this->_types[$key]) {