Menu

Diff of /src/screens/add.cs [r3] .. [r4]  Maximize  Restore

Switch to side-by-side view

--- a/src/screens/add.cs
+++ b/src/screens/add.cs
@@ -282,12 +282,11 @@
 #print '	echo \"<script>window.opener.location.reload(true)</script>\";\n'
 #print '	echo \"<script>window.close(self)</script>\";\n'
 #print '}\n'
-#print '$_SESSION[\'last_'^TableID^'\']='
 #record select `Add`, FieldName, `Type`, DisplayName, DisplayLength, areaheight, areawidth, LookupTable, OrderByField, LookupIDField, LookupDisplayField, SessionVar from `fields` where TableID=?table_id? and FieldName<>'' and FieldName<>?IDfield? and FieldName=?ListOrderByField?
 	#if SessionVar<>''
-		#print '\'$' ^ SessionVar ^'\';\n'
-	#else
-		#print '$' ^ FieldName ^ ';\n'
+		#print '$_SESSION[\'last_'^TableID^'\']=\'$' ^ SessionVar ^'\';\n'
+	#else
+		#print '$_SESSION[\'last_'^TableID^'\']=$' ^ FieldName ^ ';\n'
 	#end
 #end
 #print ';\n'
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.